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
What are some jcl statements that are not allowed in procedures?
Suppose I have five jobs to do. But I want to hold one?
What do you understand by the terms: joblib and steplib?
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?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Is it possible to left uncode disp?
Explain the function of job statement in jcl?
How is a type of file defined in the jcl that executes the cobol program?
How can the submitting users racf authority be overridden in a job stream?
Is condition checking possible in jcl?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what is SOC4 error?
is there any way to execute more than one proc in the same exec statement at the same time..?
Name what parameter directs the output of the job log dataset?
what is the use of IEBGENER utility?