Multiple choice technology mainframe

How many bytes will a S9(8) COMP field occupy ?

  1. 4

  2. 7

  3. 8

  4. 2

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A COBOL S9(8) COMP (binary) field contains 8 decimal digits. Numeric fields with 5 to 9 digits stored in binary (COMP) format occupy exactly 4 bytes in memory. Other options specify incorrect byte sizes.