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

Setting dependencies using only JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Mon Dec 27, 2010 12:54 pm
Reply with quote

Actually this was an interview question that I came across.

Is it possible to set dependecies among jobs with using only JCL and without using any scheduler?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Dec 27, 2010 2:09 pm
Reply with quote

topic has been discussed before.

think about dataset disposition = old

using the same jobname all being in the same jobclass.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Mon Dec 27, 2010 2:19 pm
Reply with quote

Another way is to have a step at last of a running job that triggers the successor job based on RC and COND parameter,

Code:
//PS010 EXEC PGM=IKJEFT01       
//SYSTSPRT DD SYSOUT=*         
//SYSTSIN DD *                 
 SUB 'SOME.PDS(MEMBER)'
/*   


Hope it helps
Back to top
View user's profile Send private message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Mon Dec 27, 2010 2:49 pm
Reply with quote

Thanks vasanthz
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 TWS job dependencies IBM Tools 1
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Setting CA7 user variable from data s... CA Products 7
No new posts DSNTEP2 - setting exception DB2 2
Search our Forums:

Back to Top