Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
05 WS-WORK.
10 WS-YOUR-FLD-WRK PIC X(008).
10 FIL PIC X(001) VALUE
X'0C'.
10 WS-WORK-PACKED REDEFINES
WS-WORK PIC 9(009) COMP-3.
05 WS-WORK-UNPACKED PIC 9(009).
05 REDEFINES WS-WORK-UNPACKED.
10 WS-WORK-UNPACKED-8 PIC 9(008).
100-CONVERT-HEX-DATA.
*-------------------------------------------------- *===> CONVERTS HEX DATA FOR DISPLAY PURPOSES
* E.G. X"04FB" ====> X"F0F4C6C2" OR 04FB CHAR
*--------------------------------------------------
MOVE your-hex-field TO WS-YOUR-FLD-WRK
MOVE WS-WORK-PACKED TO WS-WORK-UNPACKED
INSPECT WS-WORK-UNPACKED CONVERTING
X"FAFBFCFDFEFF" TO "ABCDEF"
DISPLAY 'HEX FIELD >' WS-WORK-UNPACKED-8 '<'
.