Mailing Problem

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Kumar Rangappa
Member
Posts: 1
Joined: Sat Nov 21, 2015 9:03 am

Mailing Problem

Post by Kumar Rangappa » Sat Nov 21, 2015 9:11 am

Hi All,

I'm unable to send an email, from my ID to my ID only. Below is the code am using and job completes with RC=0. But email was not triggered. Could you please help me. :(

//RE2965AM JOB (U),'NAME',
// MSGCLASS=X,MSGLEVEL=(1,1),CLASS=A,
// REGION=5M,NOTIFY=&SYSUID,USER=RE2965A
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD *
HELO JESSMTP
MAIL FROM:<XYZ@XYZ.COM>
RCPT TO:<XYZ@XYZ.COM>
DATA
TO:<XYZ@XYZ.COM>
SUBJECT: TEST MESSAGE

THIS IS A LINE IN THE BODY OF THE NOTE
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
Regards,

Kumar R

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others