If a job has 3 steps and step 1 and step 3 should get
executed and step 2 should not get executed irrespective of
the return code from the previous steps. How can it be done?
Answer Posted / mr. cooooool
Hi..........
We can use condition parameter for step2.
//JOBCARD
//STEP1 EXEC=PGM1
//STEP2 EXEC=PGM2,COND=(0,LE,STEP1)
//STEP3 EXEC=PGM3
//
THANKS
| Is This Answer Correct ? | 30 Yes | 3 No |
Post New Answer View All Answers
What happens if both JOBLIB & STEPLIB is specified ?
Explain about LMFREE�free data set from its association with data ID
Is it possible to left uncode disp? If yes, how?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is the maximum length of a single line of jcl?
Explain the function of //jcllib statement?
How do you submit a job for execution?
whats the diff bw the evaluate also and and?
Name the statement which can be used to send data to another mvs jes3 node?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Explain the purpose of dd dummy statement?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Is acct parameter mandatory?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?