Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
RC of a bypassed step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sprikitik

New User


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

PostPosted: Fri Nov 27, 2009 9:50 am    Post subject: RC of a bypassed step
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

Site Director


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

PostPosted: Fri Nov 27, 2009 10:52 am    Post subject:
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: 59
Location: Makati City, Philippines

PostPosted: Fri Nov 27, 2009 11:32 am    Post subject:
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

Site Director


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

PostPosted: Fri Nov 27, 2009 11:44 am    Post subject:
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    Post subject: Re: RC of a bypassed step
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    Post subject: Reply to: RC of a bypassed step
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us