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

Check return code of a previous job


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

New User


Joined: 04 Oct 2006
Posts: 1

PostPosted: Wed Oct 04, 2006 12:13 pm
Reply with quote

Hi,

I need to check a return code of a previous job in currently running job.

I have a following job scenario:
Job1----->Job2

Depending on the return code of Job1 I have to create a file in Job2 therefore can anybody help me out in writing a JCL step in Job2 to check a return code of Job1.

Is it possible to use a utility 'GJTRABTR' in this kind of a scenario and how.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Oct 04, 2006 12:41 pm
Reply with quote

Search this forum for 'batch' and 'sdsf'.

O.
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 SCOPE PENDING option -check data DB2 2
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top