Multiple choice technology mainframe

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

  1. 2

  2. 4

  3. 8

  4. 16

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

In COBOL, a computational field defined as S9(8) COMP uses a binary format. A binary field with 5 to 9 digits occupies 4 bytes of storage.