How do you skip a particular step in a proc/JOB?
Answers were Sorted based on User's Feedback
Answer / guest
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)\
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / nikhil
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nikhil
To skip a particular step use Conditon in EXEC statement
If the condition is true then step will be bypassed.
Ex
//stepname EXEC PGM=xyz,COND(4,LT).
| Is This Answer Correct ? | 4 Yes | 2 No |
Is their any set of rules for dd? Explain.
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
What are the 2 types of parameters in dd statement?
What is the function of job statement in jcl?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?
how to increase the space of a dataset in instream procedure.
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the purpose of disp parameter?
In job processing, what happens in execution stage?
Name some of the JCL statements that are not allowed in procs.?