How can you specify that a data set should be deleted after a job completes using the DISP parameter?
- DISP=(DELETE,DELETE)
- DISP=(MOD,DELETE)
- DISP=(NEW,DELETE)
- DISP=(OLD,DELETE)
To delete a data set after a job completes, you can use DISP=(OLD,DELETE) in the JCL DD statement.
Loading...
Related Quiz
- Describe a scenario where utilizing a JCL procedure would be beneficial, and explain how it simplifies the job execution process.
- How can you specify the disposition of a dataset during allocation in JCL?
- In a JCL job, you need to generate variable-length records with a specific character set using the IEBDG utility. How would you configure the utility to achieve this?
- When might you use COND=EVEN in a JCL step?
- What is the purpose of the EXIT statement in JCL?