Multiple choice technology mainframe

Suppose pgm A passes 30 bytes to pgm B thru commarea and pgm B has defined its DFHCOMMAREA to be 50 bytes. Is there a problem? a. No, the program runs fine b. Yes, if B tries to access bytes 30-50 c. Yes, if B tries to access bytes 31-50 d. None of the above

  1. A

  2. B

  3. C

  4. D

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

Program A passes exactly 30 bytes. Program B can safely access only those 30 bytes. Accessing bytes 31-50 reads undefined memory, causing errors. The answer must specify the correct byte range.