COND ->
step1
.
.
step2,
Step2, Executes if the CC of step1 is 0.
But even if it is NOT 0 and if we dont give COND, will step2
be executed ?
Answer Posted / rup
STEP1
. .
. .
STEP2 COND(4,GE,STEP1)
STEP2 EXECUTES IF STEP1 CC=0, IF NOT 0 step2 will not
execute i.e step1 is 4 or >4 then step2 will not execute.
If condition is not giving in step2, then step2 will execute.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is NOTCAT ?
A dd statement consists of 4 fields. Name them?
What is use of restart and how to use it?
what is DSN in JCL and what are the parameters to declare the DSN?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the maximum length of a single line of jcl?
How to pass the parameter in parm using linkage section ? (syntax)?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
How can a stopped job be started again?
What is the function of the dd avgrec keyword in sms datasets?
how to do automated restart when a job abends?
What is notcat 2 - gs?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.