You have a JCL job that creates a temporary output data set. How would you use the DISP parameter to ensure the data set is automatically deleted after job completion?
- DISP=(MOD,DELETE,DELETE)
- DISP=(MOD,KEEP,KEEP)
- DISP=(NEW,CATLG,DELETE)
- DISP=(NEW,DELETE,DELETE)
The DISP parameter with (NEW,CATLG,DELETE) specifies a new data set, catalogs it, and deletes it automatically after the job completes.
Loading...
Related Quiz
- What is the purpose of the TIME parameter in JCL?
- What is the purpose of the REGION parameter in JCL?
- What is the purpose of the EXIT statement in JCL?
- The _______ parameter in a JOB statement determines the priority of the job in the job queue.
- In a mainframe environment, you need to ensure that specific tasks are performed before a job step completes. How can you leverage an EXIT statement to achieve this?