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
 
Invoking a particular step in a PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kalyan_lc5

New User


Joined: 06 Jul 2006
Posts: 9

PostPosted: Wed Sep 01, 2010 2:33 pm    Post subject: Invoking a particular step in a PROC
Reply with quote

Hi,

I have the following scenario:

one PROC contains 4 steps say:
step1, step2, step3, step4

This PROC is invoked by two jobs

1st job needs only step1 and step2 to be executed and
2nd job needs only step2 and step4 to be executed.

Kindly help me how to do this.


Thanks in advance,
Back to top
View user's profile Send private message

smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Wed Sep 01, 2010 2:37 pm    Post subject:
Reply with quote

have u tried COND=(0,LE)


//test exec proc1,
// step3.cond=(0,LE),
// step4.cond=(0,LE)

this will execute only 1 nd 2nd steps
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 01, 2010 7:52 pm    Post subject:
Reply with quote

Hello,

Suggest 2 procs be used. . .

Who believes this is a "good" design?

On many systems, a setup like this would not be permitted to be promoted to Productoin.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Sep 01, 2010 8:01 pm    Post subject:
Reply with quote

why play around with cond codes, which means you have to change the procs?

do it the easy way.....

5.0 IEBEDIT (Edit Job Stream) Program
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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
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 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