Multiple choice technology mainframe

Determine the bytes 01 REC-1. 01 A PIC X(6). 02 B REDEFINES A. 03 C OCCURS 6 TIMES PIC 9. 02 D OCCURS 4 TIMES. 03 E PIC X(5). 03 F PIC 999

  1. 38

  2. 44

  3. 14

  4. 12

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

Calculating total bytes: A is X(6) = 6 bytes. B REDEFINES A, sharing those 6 bytes. C OCCURS 6 times PIC 9 = 6 × 1 = 6 bytes (same storage). D OCCURS 4 times: E is X(5) = 5 bytes each, F is 999 = 3 bytes each. So each D iteration = 5 + 3 = 8 bytes. Total for D = 4 × 8 = 32 bytes. Overall: A (6) + D (32) = 38 bytes.