Fri, 09/09/2011 – 19:53
#1
Display Hex codes
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?
“; ; ; ;
Click the +1 button  below to share it with your friends and colleagues
Share this if you liked it!
Disclaimer