DISPLAY of COMP-3 field

Hi all,

In the ADABAS file desired field is defined in PACKED format as shown below.
3 2 PCR-ID P 9.0

I want to see the value of PCR-ID.

For this I red the above file in Natural program.
After reading this file i used DISPLAY statement to see the value of PCR-ID. but i am getting only 5 digits.
please let me know why it is happening.

or suggest me other technique to see the value of PACKED format fields.

What does your DISPLAY statement look like ?
And what its output ?

If the field contains just 5 “significant digits” and leading zeroes, DISPLAY will just print the 5 digits unless you use an edit mask asking for leading zeroes to be printed, e.g. (EM=999999999)