You have a JCL job with three steps. How would you use the COND parameter to ensure that the second step is executed only if the first step abends?
- Use COND=(0,EQ) on the second step
- Use COND=(0,NE) on the second step
- Use COND=(4,EQ) on the second step
- Use COND=(4,NE) on the second step
The COND parameter in JCL is used to conditionally execute a step based on the return code of a preceding step. COND=(4,EQ) means execute if the return code is 4 (abend).
Loading...
Related Quiz
- How is a procedure used in JCL, and what are its advantages?
- What is the primary purpose of the IEBCOPY utility in JCL?
- Which JCL statement is used to specify the de-allocation of a data set after its use in a job step?
- The IF statement in JCL is used to specify _______ conditions.
- How does the SET statement help in parameterizing JCL jobs?