In a multi-step JCL job, how can you ensure that a data set is de-allocated only after all its dependent steps have completed successfully?
- Use DISP=(MOD,CATLG) in each step and DELETE in the last step.
- Use DISP=(NEW,CATLG) in each step and DELETE in the last step.
- Use DISP=MOD in each step and DELETE in the last step.
- Use DISP=OLD in each step and DELETE in the last step.
To ensure de-allocation only after successful completion, use DISP=OLD in each step and DELETE in the last step of the JCL job.
Loading...
Related Quiz
- Can you use multiple EXIT statements in a single JCL job? If so, how?
- Can you have multiple levels of job dependencies in a complex job scheduling scenario? If yes, how?
- What is the purpose of the priority parameter in JCL job scheduling?
- How can you allocate a dataset with DISP=(MOD,CATLG) in the DD statement?
- The REGION parameter in a JOB statement specifies the _______ that the job is allowed to use during execution.