What is no prerequisite for using the EXECIO command?
-
The dataset must be sequential or a member of a partitioned dataset.
-
The dataset must be allocated to a file name or DD name.
-
The dataset must be exclusively enqueued (DISP=OLD or NEW).
-
TSO or MVS environment must be active.
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.
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.