View previous topic :: View next topic
|
Author |
Message |
onelxii
New User
Joined: 10 Jul 2006 Posts: 3
|
|
|
|
Hello everyone. What in-stream JCL command on CA7 batch can I use to post a requirement on a job that's already in request queue? I have two test jobs sitting in development region and both are already in request queue. The first job should post the second one upon failing in one of its steps. Can anyone help me on this? Thank you very much all. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Is it a user request that needs satisfying, or a job / time dependency |
|
Back to top |
|
|
onelxii
New User
Joined: 10 Jul 2006 Posts: 3
|
|
|
|
It's a user hold that needs to get satisfied via the CA7 batch. Is this possible? Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I am sure that you can use batch CA7 to do everything that can be done on the screen.
Take a look at the POST command. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
onelxii wrote: |
Hello everyone. What in-stream JCL command on CA7 batch can I use to post a requirement on a job that's already in request queue? I have two test jobs sitting in development region and both are already in request queue. The first job should post the second one upon failing in one of its steps. Can anyone help me on this? Thank you very much all. |
Hi,
If I understand your question correctly, you got two jobs like JOBA, JOBB
you want to trigger JOBB if JOBA fails.
you can put that dependency directly. Even though if you want one step to fail in JOBA it does mean the entire job failes in CA7.
I guess you can put job dependency striaghtly for JOBB should run if JOBA fails. correct me if i am wrong |
|
Back to top |
|
|
onelxii
New User
Joined: 10 Jul 2006 Posts: 3
|
|
|
|
Thanks for all your help. I managed to get someone internally to help me on this. I will be using the ARF in CA7 to have the job automatically trigger another job if it fails. Thanks again. |
|
Back to top |
|
|
|