Sending e-mail using Job

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Sending e-mail using Job

Postby prashanthreddy » Sat Jun 14, 2008 5:57 pm

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.

Posts: 8
Joined: Sat Jan 19, 2008 3:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Sending e-mail using Job

Postby dick scherrer » Sun Jun 15, 2008 5:02 am


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>                                         
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.                                     
//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.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Sending e-mail using Job

Postby pse bdx » Mon Jun 16, 2008 3:26 am

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. ...
pse bdx
Posts: 4
Joined: Sat Jun 14, 2008 4:32 pm
Has thanked: 0 time
Been thanked: 0 time

Return to JCL


  • Related topics
    Last post