View previous topic :: View next topic
|
Author |
Message |
sprikitik
New User
Joined: 29 Jan 2007 Posts: 61 Location: Makati City, Philippines
|
|
|
|
Hello,
I have 3 steps in my proc, STEP A B and C
in the job, i bypassed STEP B, STEP C is an abort step which checks the RC of STEP B. If the RC of STEP B is 0, it will not execute STEP C. My problem is that if i bypass STEP B (using cond 0 le), Abort STEP C is automatically executed. Can anybody tell me how to solve this without BYPASSING STEP C? what is the RC of a bypassed step?
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
A bypassed step has no rc.
Quote: |
Can anybody tell me how to solve this without BYPASSING STEP C? |
Why?
If step B has been skipped, so should step C.
Possibly i misunderstand. . . |
|
Back to top |
|
|
sprikitik
New User
Joined: 29 Jan 2007 Posts: 61 Location: Makati City, Philippines
|
|
|
|
dick scherrer wrote: |
Hello,
A bypassed step has no rc.
Quote: |
Can anybody tell me how to solve this without BYPASSING STEP C? |
Why?
If step B has been skipped, so should step C.
Possibly i misunderstand. . . |
I was actually thinking of bypassing STEP C but the people in my dept doesnt want me to do that, is there any other way that i can make this job work without abending? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
but the people in my dept doesnt want me to do that, |
Again, why? What business requirement or technical reason is there for this?
What do "they" want instead? |
|
Back to top |
|
|
darkstar13
New User
Joined: 06 Nov 2008 Posts: 46 Location: Manila, Philippines
|
|
|
|
sprikitik wrote: |
in the job, i bypassed STEP B, STEP C is an abort step which checks the RC of STEP B. If the RC of STEP B is 0, it will not execute STEP C.
|
Hi,
If you bypassed STEPB, and STEPC is dependent on STEPB, but you do not want to bypass STEPC when STEPB is bypassed, what is the point in executing STEPC?
Sorry for that, i just don't see the sense.
For your question,
maybe you can make STEPC dependent on STEPA as well, so that it will run regardless if STEPB has been bypassed or not. |
|
Back to top |
|
|
Vijayakumar Mani
New User
Joined: 24 Oct 2007 Posts: 11 Location: Salem
|
|
|
|
sprikitik,
Quote: |
If the RC of STEP B is 0, it will not execute STEP C |
Can you provide details on how did you code the condition for not executing STEP C when RC of STEP B is 0?
Also, can you provide details of what STEP B does? i.e., whether you have a PROC statement to be executed. |
|
Back to top |
|
|
|