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

Return code NXEQ.......COND in following step


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

New User


Joined: 08 Feb 2007
Posts: 11
Location: Hyderabad

PostPosted: Fri Mar 21, 2008 1:05 am
Reply with quote

Suppose that a step is skipped by someway in the proc, the retrun code of the step will be (shown) NXEQ. Lets say there is a next step following this, which is dependent on the return code of the first step, how will second step read the return code of the first step?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Mar 21, 2008 1:24 am
Reply with quote

You'll probably want to setup an OR conditional check:

//STEP1 EXEC PGM=PGM1
//*
// IF (STEP1.RC = 0 | STEP1.RUN=FALSE) THEN
//STEP2 EXEC PGM=PGM2
// ENDIF
//*
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
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
Search our Forums:

Back to Top