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
when does a dataset go uncataloged?
what is the compile process of cobol program expalin with code
What is the function of the steplib dd statement?
i want to store 20 digits . how will u do it in cobol ?
List in order the hierarchical levels of jcl?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Suppose I have five jobs to do. But I want to hold one?
what is use of dsn parameter in dd statement?
a dd statement has 2 types of parameters. Name them?
how you will the direct the data to spool using sysout option?
how JCL works?
How can values be passed from the job stream to an executable program?
what is JCL?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
How dummy is used in jcl?