Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Use the Return code of a JCL job step in another JCL ??
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: 8593
Location: Back in jolly old England

PostPosted: Sun Apr 06, 2008 12:40 pm    Post subject:
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    Post subject: Reply to: Use the Return code of a JCL job step in another J
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: 2150
Location: At my coffee table

PostPosted: Sun Apr 06, 2008 1:10 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us