View previous topic :: View next topic |
Author |
Message |
kavi Beginner
Joined: 15 Sep 2006 Posts: 64 Topics: 22
|
Posted: Fri Dec 14, 2007 5:35 am Post subject: Executing a second job from first jobs |
|
|
HI all
Here is my requirement.
I have a job with 5 steps and in STEP005 a GDG is created. I need to execute another Job once STEP005 ends with RC=0. If I use INTRDR will I use (+0) OR (+1) for the GDG created in STEP005. Since I do not have access to use INTRDR I can't test it.
Please help on this
Thanks in advance
Kavi |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Fri Dec 14, 2007 5:41 am Post subject: |
|
|
Kavi,
You have to use (+0) as you are running your second job once first job sucessfully ends. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Dec 14, 2007 11:07 am Post subject: |
|
|
kavi,
Why not simply copy the second job into first job after step005?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
kavi Beginner
Joined: 15 Sep 2006 Posts: 64 Topics: 22
|
Posted: Mon Dec 17, 2007 1:31 am Post subject: |
|
|
vkphani,
Thanks for your replay
Kolusu,
My requirement is to execute the second job if STEP005 ends with only RC=0. Will it possible to check the return code of STEP005 of first job in second job incase I copy the second job after STEP005. If so it would be helpful if you post any sample code.
Thanks in advance,
Kavi |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
|
Back to top |
|
 |
|
|