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: 1190
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 Xpediter: STEP OVER cobol section Auryn Compuware & Other Tools 0 Thu Feb 22, 2018 9:30 pm
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm
No new posts Query to skip Max time-stamp and fetc... vickey_dw DB2 8 Sun Jan 28, 2018 1:09 am
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 2 Wed Dec 20, 2017 11:10 am

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