i have 5 steps to execute in that i want to skip 3nd step
and start execute from forth step how can u do this.
Answer Posted / y@$w@nth
I think u want to execute only 1,2,4,5 steps...for this the
solution is
//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//
So in the above case step3 won't execute only 1,2,4,5 steps
will execute.
If ur question is that u want to restart from step4 that
means u want to execute only 4,5 steps then we can go for
restart parameter at job card level..
//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//
Cheers....
Y@$w@nth
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Is their any set of rules for dd? Explain.
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How can a stopped job be started again?
how can the same proc be re-used and called by many jobs?
How to pass data to a program that is coded in an exec statement?
How dummy is used in jcl?
What dd statement is used to supply the name of a dataset?
What are the rules employed while naming the steps in a job?
what are the various stages of job processing?
How can return codes be tested before execution of a job step?
How to pass the parameter in parm using linkage section ? (syntax)?
Explain the function of job statement in jcl?
How can the submitting users racf authority be overridden in a job stream?
how you will the direct the data to spool using sysout option?