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

Invoking a particular step in a PROC


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 01, 2010 7:52 pm
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: 6966
Location: porcelain throne

PostPosted: Wed Sep 01, 2010 8:01 pm
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 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