How many bytes does a S9(7) COMP-3 field occupy?
COBOL Interview Questions
(Continued from previous question...)
How many bytes does a S9(7) COMP-3 field occupy?
Will take 4 bytes. Sign is stored as Hex value in the last nibble. General formula is INT((n/2)=1)), where n=7 in this example.
(Continued on next question...)
Other Interview Questions
|