Convert 1 byte (binary?) to char in Cobol
Posted: Thu Feb 20, 2014 2:44 pm
Don't know if the subject is correct, but...
Trying to display the content in 2 fields with this content
I want to be able to display byte 1-2 as 0101 and byte 6 as 10 (not 257 and 16)
These fields are now defined as A PIC XX and B PIC X
//Lasse
Trying to display the content in 2 fields with this content
1---5----0----5
004441....
110000....
004441....
110000....
I want to be able to display byte 1-2 as 0101 and byte 6 as 10 (not 257 and 16)
These fields are now defined as A PIC XX and B PIC X
//Lasse