Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us