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
 
JCL + JOB SUBMISSION.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
annanagarlt

New User


Joined: 31 Oct 2003
Posts: 5

PostPosted: Thu Nov 27, 2003 12:43 pm    Post subject: JCL + JOB SUBMISSION.
Reply with quote

How can I see whether the submitted job has been executed successfully or not without checking out the SPOOL region or by looking at the Notify messages ?? I'm expecting a real good answers...

Cheers

Team AnnaNagar LT.
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Thu Nov 27, 2003 2:34 pm    Post subject:
Reply with quote

Hello annanagarlt,

You can include a step at the end of your JCL to send an email with the return code using IEBGENER.
With this you dont have to go to SPOOL to look for the sysout and use the NOTIFY command.

Just give the email address where you want to see the returncode.

Let me know in case of any concerns,

Hope this helps.

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Thu Dec 04, 2003 2:00 pm    Post subject:
Reply with quote

Mayuresh,

Can you please give some code?
I am also interested to mail an attachment from mainframe.

Regards,
Sandip.
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Thu Dec 04, 2003 2:25 pm    Post subject:
Reply with quote

Hello Sandip,

Checkout following link for more details.

Code:
http://www.cisco.com/univercd/cc/td/doc/product/software/ioss390/ios390ug/ugsmtp.htm#34946

http://www.csuhayward.edu/FOCUS/mvsmail.ppt

http://panthernet.pbcc.cc.fl.us/xmitip.html



sample JCL would be the one like below:

--------------------------------------------------------------------------------------
//STEP000 EXEC PGM=IEBGENER
//SYSUT1 DD *
HELO system
MAIL FROM: me@mydomain.com
RCPT TO: whoever@domain.com
DATA
FROM: Me
TO: You
SUBJECT: Something to talk about
MIME-Version: 1.0
CONTENT-TYPE: multipart/mixed;
boundary="code block"
CONTENT-TRANSFER-ENCODING: binary;
Some message not shown.
--code block
CONTENT-TYPE: application/octet-stream;
name="MyDocument.doc" type="application/ms-word" <----- file to be uploaded
/*
// DD DSN=Uploaded.MSWord,DISP=SHR
// DD *
--code block
CONTENT-TYPE: application/octet-stream;
name="MyAdobe.pdf" type="application/pdf" <----- file to be uploaded
/*
// DD DSN=Uploaded.PDF,DISP=SHR
// DD *
/*
--code block--
.
QUIT
/*
--------------------------------------------------------------------------------------

Hope this helps.

Regards

Mayuresh Tendulkar
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 Multiple Jobs submission from a PDS l... suryamtechcse CLIST & REXX 2 Fri May 03, 2013 10:48 am
No new posts Jobtrac not starting jobs - awaiting ... alfgomesc CA Products 3 Fri Nov 18, 2011 9:53 pm
No new posts command to display the spool jobs in ... lakshmiharirao All Other Mainframe Topics 9 Fri Aug 26, 2011 10:56 am
No new posts Running multiple SAS programs in one ... Charles Wolters All Other Mainframe Topics 3 Fri Apr 15, 2011 2:32 am
No new posts Reg: Capturing job submission output ajeshrn CLIST & REXX 11 Fri Oct 08, 2010 6:55 pm

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