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.



Answers were Sorted based on User's Feedback



i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / 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

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / karan johar accenture

//step3 exec pgm=p3,cond=(4,GT,0)[0 means rc of step2]
//step4 exec pgm=p4,cond=(4,LE)

Is This Answer Correct ?    6 Yes 3 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / girish kumar

By using IEBEDIT we can do it

sysin dd *
edit type=exclude,stepname=(step3)

Is This Answer Correct ?    6 Yes 5 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / sachin

put cond=(o,LE) in step3
and in step4 keep cond =even

Is This Answer Correct ?    1 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / mohan.chepuri

step3 use cond=(00,le) job wil be bypass in this case

Is This Answer Correct ?    0 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / vinay sonar

put always true condition using cond parameter in step

eg //STEP2 DD PGM=IEBGENER,COND=(0,LT)

Is This Answer Correct ?    0 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / krishna chaitanya

at jobcard cond(o,gt)
and then at step 3 cond(0,le)
and at step 4 (0,gt)
or
simply give restart step4

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JCL Interview Questions

What is MOD and when would you use it?

3 Answers  


What is RESTART? How is it invoked?

8 Answers   HSBC,


What is dummy parameter in JCL??

3 Answers   TCS,


Explain about REXX

1 Answers  


what is force complete

2 Answers   IBM,






Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01

2 Answers  


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)

1 Answers  


What is the maximum length of a single line of jcl?

0 Answers  


How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?

3 Answers  


Categories