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 is the difference between the positional and keyword parameters? Give examples.
when can a job time-out occur? How to overcome that?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Can I share my data with other jobs? How?
what is the JCL statement consists of?
Is acct parameter mandatory?
Explain the function of //jcllib statement?
what is DD statement is used in JCL?
List the different jcl statements that are not permitted in the procedures?
how do you code a null statement?
what is a jcl?
How is the record format of an output dataset specified?
Are there any set of rules for the names of the steps used in a job? What are they?
Explain about ISPF/TSO Commands