I am working on the manipulation on some Hex codes.
I have the following cobol code as example
01 ws-comp pic s9(4) comp value +0108.
01 ws-char redefines ws-comp.
05 filler pic x.
05 ws-hex pic x.
Now the sysout will display char "%" and when viewed in hex mode
it will display the actual hex code. which is "6C"
How to display the hex codes directly without viewing in hex mode?"; ; ; ;