Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

from JCL run a proc step and skip rest

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: from JCL run a proc step and skip rest
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: 1187
Location: Bangalore,India

PostPosted: Tue Sep 19, 2006 4:17 pm    Post subject:
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    Post subject: thank you
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts why i need hit enter after EXECIO * D... jackzhang75 CLIST & REXX 10 Fri May 20, 2016 9:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us