IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

from JCL run a proc step and skip rest


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anurat

New User


Joined: 19 Sep 2006
Posts: 6

PostPosted: Tue Sep 19, 2006 3:56 pm
Reply with quote

Hi!
I have a situation. In the catalogued proc there are 3 steps. Now from the JCL i want to execute only step2.

No other step has to be executed and no changes have to be made to the proc.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Sep 19, 2006 4:17 pm
Reply with quote

Hi Anurat,

You can override the condition code check for the steps that you don't want to run. If you add this code:


--------------------------------------------------------------------------------
cond.step1=(0,le),cond.step3=(0,le)
--------------------------------------------------------------------------------

to the exec statement calling the proc (where step1 and step3 are the labels for those steps) then this should bypass execution of those two steps within the proc.

Correction r welcome
Back to top
View user's profile Send private message
anurat

New User


Joined: 19 Sep 2006
Posts: 6

PostPosted: Tue Sep 19, 2006 4:24 pm
Reply with quote

thanks ekta
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top