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
For what purpose steplib and joblib are used ?
Mention the types of job control statements?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Explain the function of job statement in jcl?
Describe the various parameters utilized in the creation of a gdg?
How gdg are concatenated?
What is the function of the steplib dd statement?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Explain how can values be passed from the job stream to an executable program?
what is the purpose of coding class parameter in job statement?
Explain the purpose of dd * statement in jcl?
What is the function of //jcllib statement?
How can a fb file convert to vb file using sort program?
what is a jcl?
Is condition checking possible in jcl?