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

Skip the corresponding steps in a proc


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

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Thu Feb 09, 2006 11:22 am
Reply with quote

Hi all,
I want to skip the remaining steps in a proc if one of the output file produced in one of the step of the proc is empty.If not empty continue with the remaining steps.

For example,
I have 7 steps in a proc and one of the output file of 3rd step is empty ,it must skip the remainig 4 steps else if the file has data it must execute the remaining 4 steps.
Can v set any return code in proc or add new step to do the above action.
Please provide suggestions.
Thanks in Advance.
Regards,
Muthuvel.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Feb 09, 2006 11:55 am
Reply with quote

See this previous post for two methods.
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 CA7 deleting files in steps after job... CA Products 4
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts trying to set return code in PROC JCL & VSAM 15
Search our Forums:

Back to Top