Multiple choice technology mainframe

What does the following code do? "EXECIO * DISKR INDD (STEM SRCLINE. FINIS"

  1. Read one record from INDD and store in in SRCLINE stack.

  2. Read all the records from INDD and store in in SRCLINE stack.

  3. Write one record from INDD and store in in SRCLINE stack.

  4. Write all the records from INDD and store in in SRCLINE stack.

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

The EXECIO command with the asterisk (*) wildcard processes all records in the dataset. DISKR specifies disk read operation, and STEM stores records in a compound array (SRCLINE.1, SRCLINE.2, etc.). The FINIS option closes the file after reading. Option A is incorrect because it only reads one record. Options C and D are wrong because DISKR is a read operation, not write.