Multiple choice technology mainframe

What is no prerequisite for using the EXECIO command?

  1. The dataset must be sequential or a member of a partitioned dataset.

  2. The dataset must be allocated to a file name or DD name.

  3. The dataset must be exclusively enqueued (DISP=OLD or NEW).

  4. TSO or MVS environment must be active.

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

EXECIO requires the dataset to be sequential or PDS member (A is required), must be allocated to a DD name (B is required), and TSO/MVS environment (D is required). However, exclusive enqueue (DISP=OLD/NEW) is NOT required - EXECIO can work with datasets that have DISP=SHR. Option C correctly identifies the non-prerequisite.

AI explanation

EXECIO can read from or write to a dataset that is shared (DISP=SHR), so exclusive enqueue (DISP=OLD or NEW) is not something EXECIO itself requires. The dataset does need to be allocated to a ddname and the system does need to be an active TSO/MVS environment, so exclusive enqueuing is the one item on the list that is not actually a prerequisite.