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
Differentiate between the joblib and the steplib statements?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain how can a stopped job be started again?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what JCL Procedures?
Brief description of inline procedure of jcl.
Is acct parameter mandatory?
List the different components of jcl statement?
What parameter directs the output of the job log dataset?
What is the significance of addrspc parameter in exec statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
When output dataset space is required, what quantity categories are used?
What is catelog procedure and how many catelog procedure to use in one job?
In sms datasets, what is the function of the dd mgmtclas keyword?