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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts SFTP Return Codes TSO/ISPF 2
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts Using Multiple IFTHEN and WHEN condit... SYNCSORT 12
Search our Forums:


Back to Top