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
How to pass data to a program that is coded in an exec statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what is DSN in JCL and what are the parameters to declare the DSN?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Give the syntax of job specifying jcl statement.
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Is acct parameter mandatory?
how to do automated restart when a job abends?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What is the significance of addrspc parameter in the exec statement?
Is their any set of rules for dd? Explain.
What is the difference between the positional and keyword parameters? Give examples.
Where & How Do You Code Identifier In Jcl?
how would you create a temporary dataset? And where will you use them?
what is use of space parameter in dd statement?