View previous topic :: View next topic |
Author |
Message |
puneet kumar Beginner
Joined: 07 Dec 2002 Posts: 5 Topics: 2
|
Posted: Sat Dec 07, 2002 5:55 am Post subject: How to skip a step in the proc ?? |
|
|
Hi All,
Is there any parameter which we can specify in JCL to skip a step, just like we give for restarting from a step.
I know we can use IF statements or Return codes conditional parameters to skip step.
Thanks & Regards,
Puneet |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sat Dec 07, 2002 8:42 am Post subject: |
|
|
puneet kumar,
Apart from condition code checking or IF THEN ELSE construct , I cannot think of any way to skip a step.
Is there a specific reason that you cannot use them??
Kolusu |
|
Back to top |
|
|
puneet kumar Beginner
Joined: 07 Dec 2002 Posts: 5 Topics: 2
|
Posted: Sat Dec 07, 2002 11:18 am Post subject: |
|
|
Hi Kolusu,
This just wanted to know whether this kind of option exists. I can very well use other options (IF or condition code check).
Thanks,
Puneet |
|
Back to top |
|
|
Abhi Beginner
Joined: 03 Dec 2002 Posts: 21 Topics: 4 Location: India, Pune
|
Posted: Tue Dec 10, 2002 10:43 am Post subject: |
|
|
Puneet,
A similar kind of requirement was discussed in an earlier post. Is this what u r looking for...
How to run a specific step in a proc ? |
|
Back to top |
|
|
anjanaachan Beginner
Joined: 26 Dec 2002 Posts: 3 Topics: 0
|
Posted: Sat Dec 28, 2002 8:20 am Post subject: |
|
|
Hi,
There's a quicker way to do this....
In the step that you want to avoid, code a COND parameter as per ur requirement. The way it works is like this :
If u code COND=(0,LT), then this step will be BYPASSED if the maxcc of previous step is LE 0.
Hence if you know the criteria based on which u need to run/not run some steps, code the COND parameter accordingly.
Hope this helps.
|
|
Back to top |
|
|
|
|