IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

RC of a bypassed step


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sprikitik

New User


Joined: 29 Jan 2007
Posts: 61
Location: Makati City, Philippines

PostPosted: Fri Nov 27, 2009 9:50 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 27, 2009 10:52 am
Reply with quote

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
View user's profile Send private message
sprikitik

New User


Joined: 29 Jan 2007
Posts: 61
Location: Makati City, Philippines

PostPosted: Fri Nov 27, 2009 11:32 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 27, 2009 11:44 am
Reply with quote

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
View user's profile Send private message
darkstar13

New User


Joined: 06 Nov 2008
Posts: 46
Location: Manila, Philippines

PostPosted: Tue Dec 01, 2009 10:37 am
Reply with quote

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
View user's profile Send private message
Vijayakumar Mani

New User


Joined: 24 Oct 2007
Posts: 11
Location: Salem

PostPosted: Wed Dec 02, 2009 5:58 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top