Hi, all
suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if
cond is true or false (which of the other steps get executed)?
1) //s3 exec pgm=abc,cond=(0,le)
2) //s3 exec pgm=abc,cond=(0,le,step2)
3) In the jobcord RESTART=step3,cond=(0,le)
4) can i code COND=TRUE in jobcard, if yes what will happen?
Answer Posted / nishant singhal
Muttaiah you have explained very well but i have one doubt
here...
for these below 2 questiones
1) //s3 exec pgm=abc,cond=(0,le)
2) //s3 exec pgm=abc,cond=(0,le,step2)
cond=(0,le) should check return code from previous step ie
s2 because if you are not giving any step in your cond
parameter then by default it will check return code from
its previous step and it will work like same as mentioned
in question 2.
Please correct me if i am wrong and let me know how it will
look for all the previous steps ie s1 & s2.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the function of a dd statement?
Is it possible to code instream data in a PROC?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
how would you create a temporary dataset? And where will you use them?
What is the function of the dd dcb keyword?
What is the purpose of the dd keylen parameter?
What is job control language?
Are there any set of rules for the names of the steps used in a job?
What is the motivation behind coding class parameter in job statement?
in ways data can be passed to a COBOL program from JCL?
How dummy is used in jcl?
What happens if both JOBLIB & STEPLIB is specified ?
Explain the function of //jcllib statement?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what is “Cond= even” and “Cond=only”?