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

Use the Return code of a JCL job step in another JCL ??


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

New User


Joined: 06 Apr 2008
Posts: 4
Location: Bangalore

PostPosted: Sun Apr 06, 2008 12:38 pm
Reply with quote

Hi,

Can anyone please help me out in solving my below query ??

My purpose is to use the return code of a particular step in a JCL job in another JCL job... Can we use the Return code of a JCL job step in another JCL ???

plz reply..

thanx in advance...

Regards,
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Apr 06, 2008 12:40 pm
Reply with quote

NO, not unless you capture it somehow within the first batch job and pass it as a parameter.

Dare I as what you are trying to achieve.
Back to top
View user's profile Send private message
sidharthmadaan1984

New User


Joined: 06 Apr 2008
Posts: 4
Location: Bangalore

PostPosted: Sun Apr 06, 2008 12:51 pm
Reply with quote

thanks for so early a reply dear..

actually, we have a nightly batch cycle running and we need to send the status of jobs manually everyday by checking the procs and drafting a mial... so, i wanted to make it like, if I can use the return codes of the jobs and use them to send a mail to the desired recepients through mainframes only..

i hope u got it... right ???

plz reply..

thnx in advance again...

Regards,
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sun Apr 06, 2008 1:10 pm
Reply with quote

Lionel B. Dyck has a great little tool, SDFSEXT, a generalized SDSF batch tool to extract all or part of your sysout into a dataset that could be emailed.
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 Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top