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:<[email protected]> RCPT TO: <[email protected]> DATA FROM:<[email protected]> TO: <[email protected]> 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 [email protected] with the message: INFO IBM-MAIN
