Hi all!
I have two questions...
Do you know what Cobol does with the optional parameter COMP-5 and 1 ?? I know that in this line:** 01 counter PIC 9(4) VALUE 1234 COMP-3 ** it compresses to 3bytes but I dont know about COMP-5 and 1.
The other question is about memory. How is it possible for Cobol not to occupy memory space for decimals and signed numbers. I mean, in the number -584.735 the sign and decimal point don t occupy memory. Is this correct??
I have two questions...
Do you know what Cobol does with the optional parameter COMP-5 and 1 ?? I know that in this line:** 01 counter PIC 9(4) VALUE 1234 COMP-3 ** it compresses to 3bytes but I dont know about COMP-5 and 1.
The other question is about memory. How is it possible for Cobol not to occupy memory space for decimals and signed numbers. I mean, in the number -584.735 the sign and decimal point don t occupy memory. Is this correct??