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
 
Downstream steps to execute only if STEP RC is 0 or 3501

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

New User


Joined: 27 Dec 2005
Posts: 58

PostPosted: Mon Mar 30, 2009 2:56 pm    Post subject: Downstream steps to execute only if STEP RC is 0 or 3501
Reply with quote

We have a proc wherein currently a step IN090 needs to have an RC of only 0 for the remaining steps to execute.

A change is being made to the program for the step and for a special case the step RC would be set to 3501

In the current proc all steps that run after IN090 have a cond of (0,NE,IN090) meaning if the RC of IN090 is not 0 then dont execute.

The new requirement would be -->If IN090 has an RC of 0 or 3501 then only execute.

However please give a solution without the use of IF/ELSE.

There are multiple conditions clubbed together and hence we dont want to use IF/ELSE

Can it be coded on the cond without using IF/ELSE
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 30, 2009 4:18 pm    Post subject:
Reply with quote

I suggest that you use IF / THEN / ELSE processing
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 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

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