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 are the parameters that are used in creating a gdg?
in ways data can be passed to a COBOL program from JCL?
what is the purpose of coding notify parameter in job statement?
When output dataset space is required, what quantity categories are used?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is the difference between run mode and addressing mode?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
how you will the direct the data to spool using sysout option?
Define concatenating?
What is the function of the dd dcb keyword?
What are steplib and joblib? What for they are used?
List the different components of jcl statement?
What are the 2 types of parameters in dd statement?
What does a disposition of (MOD,DELETE,DELETE) mean ?