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

RETURN-CODE REGISTER


IBM Mainframe Forums -> Testing & Performance
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pvnlrao

New User


Joined: 15 Feb 2006
Posts: 2

PostPosted: Tue May 15, 2012 12:11 pm
Reply with quote

How to check a moved value in RETURN-CODE register from cobol to jcl.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue May 15, 2012 12:25 pm
Reply with quote

something like this :
Code:

//L007004 EXEC  PGM=cobolpgm,COND=(8,LE)
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Tue May 15, 2012 2:28 pm
Reply with quote

As an alternative, why not check out IF THEN ELSE ENDIF in the JCL manual or www-03.ibm.com/systems/z/education/skills_coursematerials.html#BootCamp.
Code:
//    IF  STEP1.RC LT 8 THEN
//STEP2 EXEC PGM=....
//.....
//    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 -> Testing & Performance

 


Similar Topics
Topic Forum Replies
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 REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top