Skip to content
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.
Mainframe Interview Questions
What does the INITIALIZE verb do?
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
What does the IS NUMERIC clause establish ?
How do you reference the following file formats from COBOL programs:
How many bytes will a S9(8) COMP field occupy ?
TERMS AND CONDITIONS