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 ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of disp parameter?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Differentiate between addressing mode and run mode.
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
what happens in execution stage in job processing?
How is the record format of an output dataset specified?
Can I share my data with other jobs? How?
What parameter directs the output of the job log dataset?
what is DD statement is used in JCL?
What is the difference between the positional and keyword parameters? Give examples.
Explain the function of job statement in jcl?
In sms datasets, what is the function of the dd avgrec keyword?
Name the statement which can be used to send data to another mvs jes3 node?
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) ?
what are the various stages of job processing?