Multiple choice technology mainframe

//INFILE DD DSN=&&TEMP,(NEW,PASS,) Here Temp is an temporary dataset which will be

  1. deleted at the end of the job

  2. deleted at the end of the step

  3. deleted when end of file is reached

  4. either 2 or 3

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

The dataset defined with DSN=&&TEMP (temporary dataset with PASS disposition) will be deleted at the end of the job. Temporary datasets (prefixed with &&) are automatically deleted when the job completes. PASS allows it to be used by subsequent steps within the same job, but deletion occurs at job termination, not step termination.

AI explanation

A dataset name prefixed with && (like &&TEMP) is a temporary dataset that exists only for the duration of the job; even though its disposition passes it along to later steps (PASS), once the job ends the system automatically deletes it because temporary datasets never persist beyond job completion. It is not deleted at the end of just one step, since PASS explicitly carries it forward to subsequent steps within the same job.