View previous topic :: View next topic
|
Author |
Message |
mlp
New User
Joined: 23 Sep 2005 Posts: 91
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
topic has been discussed before.
think about dataset disposition = old
using the same jobname all being in the same jobclass. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
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 |
|
|
mlp
New User
Joined: 23 Sep 2005 Posts: 91
|
|
|
|
Thanks vasanthz |
|
Back to top |
|
|
|