In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps
only,can any one answer me please?
Answer Posted / muthu
Hi All,
For this question we have to consider the following
scenario.
Step 1 - it has to be executed at any cost
Step 2 - it has to be executed at any cost
Step 3 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 4 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 5 - it has to be executed at any cost
Step 1 - No need to code any cond codes
Step 2 - COND = (0, NE) (This execs if step1s rc is 0)
Step 3 - COND = (0, EQ) (This step get skip if step 2's rc
is 0)
Step 4 - COND = (0, EQ,step2) (This step get skip if step
2's rc is 0)
Step 5 - COND = (0, NE,step2) (This step execs if step2's
rc is 0).
This is my assumption correct me if am wrong.
Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
which parameter is use to declare the name of dataset in dd statement?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
How can the attributes of one sms dataset be copied to another dataset?
Differentiate between the joblib and the steplib statements?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
how to compare two datasets without using superce because output is limited to 133 bytes
In sms datasets, what is the function of the dd mgmtclas keyword?
what is the purpose of coding class parameter in job statement?
Is there any command to check wether the ps file is in sorted order?
what is a jcl?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain how can a stopped job be started again?
Is acct parameter mandatory?
What happens if both JOBLIB & STEPLIB is specified ?