View previous topic :: View next topic
|
Author |
Message |
tamsmukh
New User
Joined: 24 Jan 2008 Posts: 5 Location: san antonio,Tx
|
|
|
|
I have a job xxxxxx5 which should run only after jobs xxxxxx1 and xxxxx4 have completed. How can I add the dependancy for both the jobs in xxxxxx5 using AFTER parameter? Currently the code is like this:
//xxxxxx5 job (10280it000000,xx,1234),'tso-ml-time',
// CLASS=X,MSGCLASS=J,NOTIFY=TXMV123
//*
/*JOBPARM L=99
//*
//*
/*AFTER xxxxxx1
//*
//CNTLR EXEC BTSL
//* |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Well, since /*AFTER isn't a JCL parameter, may I ask what it's relevance/function is? |
|
Back to top |
|
|
tamsmukh
New User
Joined: 24 Jan 2008 Posts: 5 Location: san antonio,Tx
|
|
|
|
If we code this parameter , then whatever jobname is mentioned in the parameter, our job will get executed only after the jobname mentioned in the parameter has finished executing.
In the above example xxxxxx5 will execute only after xxxxxx1 has finished executing.This way we can set dependancy of one job on another. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It sounds like this may be something that is part of your scheduling system.
I'd suggest you talk with your scheduling people to see if what you want to do is possible and if so, how to define it. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
I haven't seen the /*AFTER in many years, I think it is a local JCL addition. From what I can remember it could only apply to 1 job and that job had to executing or a least in the queue before your job was submitted. |
|
Back to top |
|
|
|