MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to skip a step in the proc ??

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
puneet kumar
Beginner


Joined: 07 Dec 2002
Posts: 5
Topics: 2

PostPosted: Sat Dec 07, 2002 5:55 am    Post subject: How to skip a step in the proc ?? Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sat Dec 07, 2002 8:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
puneet kumar
Beginner


Joined: 07 Dec 2002
Posts: 5
Topics: 2

PostPosted: Sat Dec 07, 2002 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Abhi
Beginner


Joined: 03 Dec 2002
Posts: 21
Topics: 4
Location: India, Pune

PostPosted: Tue Dec 10, 2002 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
anjanaachan
Beginner


Joined: 26 Dec 2002
Posts: 3
Topics: 0

PostPosted: Sat Dec 28, 2002 8:20 am    Post subject: Reply with quote

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.

Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group