The sendmail exec appears to use the TRANSMIT command to actually interface 
with SMTP

"TRANSMIT jesnode.SMTP FILE(MAILOUT) OUTDD(SMTPOUT) ",
"NOEPILOG NOLOG NOPROLOG"                             

Reference:      
http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.halu001/ubsmtp.htm


-----Original Message-----
From: Sambataro, Anthony (NIH/NBS) [E] 
Sent: Tuesday, August 27, 2013 12:08 PM
To: 'IBM Mainframe Discussion List'
Subject: RE: SMS Notices from Jes2

Batch example using an exec written by one of our sysprogs:

//jobcard                         
/*ROUTE PRINT HOLD                                                   
//*                                                                  
//MAIL    EXEC PGM=IKJEFT01,DYNAMNBR=150,REGION=4M   
//SMTPOUT   DD SYSOUT=(M,SMTP),DEST=&MDEST,FREE=CLOSE                           
  
//SYSTSPRT DD  SYSOUT=*                                           
//SYSOUT      DD  SYSOUT=*                                           
//SYSPRINT  DD  SYSOUT=*                                           
//SYSEXEC   DD  DISP=SHR,DSN=xxxxx.yyyy.EXEC                  
//SYSTSIN     DD  *
  %sendmail      
//MAILOUT  DD  DSN=&&MAIL,UNIT=SYSDA,DCB=(RECFM=VB,LRECL=241),    
//             SPACE=(CYL,(20,100)),DISP=(,PASS)         
//MAILIN DD *                                                        
FROM: xxx...@yyy.zzz.gov                                          
TO: 3015555...@txt.att.net                                           
SUBJECT: Subject Text                                                      
                                                                     
Message text                                              

-----Original Message-----
From: Rouse, Willie [mailto:wro...@co.pg.md.us] 
Sent: Tuesday, August 27, 2013 11:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SMS Notices from Jes2

Anthony,
Could give me more info since I am not very SMTP literate.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Sambataro, Anthony (NIH/NBS) [E]
Sent: Tuesday, August 27, 2013 11:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SMS Notices from Jes2

 I've done it via the SMTP server/address space with the TO: address being the 
service provider's convention. For example AT&T's convention is 
x...@txt.att.net where xxx is the 10 digit phone number.

-----Original Message-----
From: Rouse, Willie [mailto:wro...@co.pg.md.us]
Sent: Tuesday, August 27, 2013 10:17 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SMS Notices from Jes2

Hello All,

I would like to send messages to application owners when critical jobs 
fail/abend.  I don't know if there is a way to send an SMS messages from Jes2.

Respectfully,
Willie C. Rouse
Senior Mainframe Consultant
Prince George's County, Maryland
Office of Information Technology
9201 Basil Court/ Room B8
Largo, MD 20774
Voice: 301-883-7189
Fax: 301-883-3790





This E-mail and any of its attachments may contain Prince George s County 
Government or Prince George's County 7th Judicial Circuit Court proprietary 
information or Protected Health Information, which is privileged and 
confidential.  This E-mail is intended solely for the use of the individual or 
entity to which it is addressed.  If you are not the intended recipient of this 
E-mail, you are hereby notified that any dissemination, distribution, copying, 
or action taken in relation to the contents of and attachments to this E-mail 
is strictly prohibited by federal law and may expose you to civil and/or 
criminal penalties. If you have received this E-mail in error, please notify 
the sender immediately and permanently delete the original and any copy of this 
E-mail and any printout.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN



This E-mail and any of its attachments may contain Prince George’s County 
Government or Prince George's County 7th Judicial Circuit Court proprietary 
information or Protected Health Information, which is privileged and 
confidential.  This E-mail is intended solely for the use of the individual or 
entity to which it is addressed.  If you are not the intended recipient of this 
E-mail, you are hereby notified that any dissemination, distribution, copying, 
or action taken in relation to the contents of and attachments to this E-mail 
is strictly prohibited by federal law and may expose you to civil and/or 
criminal penalties. If you have received this E-mail in error, please notify 
the sender immediately and permanently delete the original and any copy of this 
E-mail and any printout.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to