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

How to pass return code from Cataloged Proc


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

New User


Joined: 19 Feb 2007
Posts: 9
Location: India

PostPosted: Thu Sep 25, 2008 12:17 pm
Reply with quote

In my JCL there are 2 steps, first step is PROC and second is jcl step2. Now my jcl step2 should execute only when my step15 of my PROC executes successfully. So how to pass the Proc's Step15 return code to JCL. Any simple solution for this issue.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Sep 25, 2008 12:25 pm
Reply with quote

Hi,

example below

Code:
//CHECK01  IF (stepname.STEP15.RUN)               
//         &  (stepname.STEP15.RC = 00) THEN       
//*                                             



Gerry
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top