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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *