The below JCL is not working and triggering an email.
//IEBGENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(9,SMTP)
//SYSUT1 DD *
MAIL FROM: MAINFRAME@SAD0ST
RCPT TO: RAMAANARP@IN.IBM.COM
DATA
FROM: MAINFRAME@SAD0ST
TO: RAMAANARP@IN.IBM.COM
SUBJECT:TEST
MIME-VERSION: 1.0
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=FILE.TXT
// DD DSN=OSMDEV.FTP.INPUT,DISP=SHR
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(9,SMTP)
//SYSUT1 DD *
MAIL FROM: MAINFRAME@SAD0ST
RCPT TO: RAMAANARP@IN.IBM.COM
DATA
FROM: MAINFRAME@SAD0ST
TO: RAMAANARP@IN.IBM.COM
SUBJECT:TEST
MIME-VERSION: 1.0
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=FILE.TXT
// DD DSN=OSMDEV.FTP.INPUT,DISP=SHR
Please help me.
Thanks & Regards,
Nandesh.R