The first thing that I see is that you have CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY"
but where you want a MIME part you have --SIMPLE BOUNDARY Shouldn't those two lines be consistent? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Ron Thomas <ron5...@gmail.com> Sent: Friday, August 9, 2019 12:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Email report from jcl Hi All. i am only getting the file attached correctly when i am giving the below and then this text is going to get embed in the file also. Is there any other to do the same ? I don't want this contents to be attached when the user receives the report . The LRECL of the files is 4500 // DD * --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN CONTENT-DISPOSITION: ATTACHMENT; Job details as follows //STEP14 EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=G3S2.VNDR.PRCE.HDR,DISP=SHR // DD * --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN CONTENT-DISPOSITION: ATTACHMENT; // DD DISP=SHR,DSN=G3S2.VNDR.SAME.PRCE.REPORT // DD DISP=SHR,DSN=G3S2.VNDR.SAME.PRCE.EMAILAT //SYSUT2 DD SYSOUT=(B,SMTP) //SYSIN DD DUMMY //* CONTENTS IN G3S2.VNDR.PRCE.HDR HELO SMTP MAIL FROM:<cd0...@email.rel-ops.com> RCPT TO: <ron5...@gmail.com> DATA FROM:<cd0...@email.rel-ops.com> TO: <ron5...@gmail.com> SUBJECT:SECUREMAIL TODAY'S VENDOR-CITY DIVERGENCE REPORT MIME-VERSION: 1.0 CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY" CONTENT-TYPE: TEXT/PLAIN CONTENT-DISPOSITION: ATTACHMENT; FILENAME=DIVRGRPT.TXT G3S2.VNDR.SAME.PRCE.REPORT -> DIVRGRPT.TXT DSN=G3S2.VNDR.SAME.PRCE.EMAILAT -> HERE THE VALUE IS "." Thanks Ron T ---------------------------------------------------------------------- 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