Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8620
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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us