You have a JCL job with multiple steps, and several of them use the same data set. How would you ensure that the data set is de-allocated only after all steps have successfully completed?

  • Use DISP parameter with the value 'DELETE' for the data set allocation in each step.
  • Use DISP parameter with the value 'KEEP' for the data set allocation in each step.
  • Use DISP parameter with the value 'CATLG' for the data set allocation in each step.
  • Use DISP parameter with the value 'MOD' for the data set allocation in each step.
When DISP is set to 'KEEP', the data set is retained even after the step completes, ensuring that it remains allocated until explicitly deallocated. This option ensures that the data set is de-allocated only after all steps have successfully completed.
Add your answer
Loading...

Leave a comment

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