Clicky
Skip to Content
Custom Search

Reply to comment

Anonymous
comp-3 data can be viewed in hex display

Packed data is in COMP-3 storage format and is seen as junk data when seen in ISPF editor in normal view. To see the correct
values for packed data you will need to view the file in hex format, which can be done using command line command "HEX ON".


The Hex view will show the Hex values for each byte below the normal display characters. Each byte of the packed field, other than the last one, will each contain two digits.

The last byte of the packed field will contain the last digit and the sign. The sign values are

"C" when positive,
"D" when negative, or
"F" if the field is unsigned.


For example, a signed 3 byte packed field, defined as S9(5) COMP-3, with a value of +98765 would be diplayed as shown below

975
86C

Reply

  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Navigation

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Number of Registered users 714
Theme by Dr. Radut.