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.
display ws-hex
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?
"; ; ; ;
I wondered how to do this...finally wrote an assembler routine to do it.
If you want, I can re-write it and send it to you. This is a shameless plug for Hercules. :-)
Ted