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
 

 

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: 6966
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
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 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 Invoking SAS in Mainframe mkk157 All Other Mainframe Topics 3 Thu Jun 02, 2016 1:12 pm


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