You have not clarified the context in which you have posted this query. Do you want to see this data in a File, or if it is an intermediate value in a COBOL Pgm.
1. In case the COMP-3 Data, that you want to see is the data in a Mainframe File
, and you would like to see the contents on TSO/ISPF, you can turn the HEX ON
on the Command Line. In the below file, the last 2 Bytes
are COMP-3 Data. You read the Hexa-decimal value in a top-down
2. If you have software tools like File-Aid or IBM's File Manager, you can use them to browse the contents of a File, and see the data in a COMP-3 Column. Take a look below, how I am browsing the file, using IBM's File Manager Tool -
3. You may also DISPLAY this in COBOL, by first MOVE'ing the data to a Numeric-Edited DISPLAY Format Variable.
01 COMMISSION PIC S9(03) COMP-3
01 WS-COMMISSION PIC -Z(03).
MOVE COMMISSION TO WS-COMMISSION
Thank you very much.