Multiple choice technology mainframe

How many Bytes will be assigned for a field which is defined with S9(6) COMP usage?

  1. 2

  2. 4

  3. 6

  4. 8

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

COMP (binary) usage uses 2, 4, or 8 bytes depending on the number of digits specified. S9(6) has 6 digits, which requires 16 bits (2 bytes) to store in binary format. The S indicates a signed number. COMP is equivalent to BINARY.