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
 
Setting dependencies using only JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Setting dependencies using only JCL
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: 6968
Location: porcelain throne

PostPosted: Mon Dec 27, 2010 2:09 pm    Post subject:
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: 1522
Location: Chennai

PostPosted: Mon Dec 27, 2010 2:19 pm    Post subject:
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    Post subject:
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    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 Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts How to get the job seq and its depend... zingy.rajeev IBM Tools 2 Tue Aug 08, 2017 2:32 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts XFACILIT class setting for Fault Anal... egrove IBM Tools 2 Thu Aug 11, 2016 8:02 pm

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