Page 1 of 1

Sending e-mail using Job

PostPosted: Sat Jun 14, 2008 5:57 pm
by prashanthreddy
Hi all,

How to send an e-mail using the job.

If any job is successful on mainframes how we can send the e-mail to a group of people.

thanks,
prashanth.

Re: Sending e-mail using Job

PostPosted: Sun Jun 15, 2008 5:02 am
by dick scherrer
Hello,

This will get you started.

//MAILJOB JOB NOTIFY=&SYSUID                                           
//S1 EXEC PGM=IEBGENER                                                 
//SYSIN DD DUMMY                                                       
//*                                                                     
//SYSUT1 DD *                                                           
HELO N1                                                                 
MAIL FROM: <YOU@N1.XYZ.COM>                                         
RCPT TO: <SOMEONE@GMAIL.COM>                                         
DATA                                                                   
TO: <SOMEONE@GMAIL.COM>                                             
FROM: "FRED"<FRED@N1.XYZ.COM>>                                     
SUBJECT: TCP/IP MAIL FROM MVS BATCH ON SYSA                             
THIS IS A TEST MESSAGE FROM BATCH.                                     
/*                                                                     
// DD DISP=SHR,DSN=MORE.EMAIL.DATA   
//SYSUT2 DD SYSOUT=(B,SMTP)                                             
//*


If there are specific questions, they should be site-specific and your system support or network people will have those answers.

Re: Sending e-mail using Job

PostPosted: Mon Jun 16, 2008 3:26 am
by pse bdx
see also :

OS/390 and z/OS Freeware by Lionel B. Dyck-
Here you will find XMITIP, the OS/390 and z/OS E-Mail application (on the TCP/IP Tools ..... Update to XMITIP to version 4.84 - Change in ISPF Dialog flow. ...
http://www.lbdsoftware.com/