I need to email 2 flat files from mainframe as CSV files. (the data in the flat files already contains the delimiter ',').
The problem is, i get the 2 files attachements as CSV, but nothing in them! I feel I've got the MIME formatting wrong. I use IEBGENER, and the flat files are FB format.
Here's part of the code:
MAIL FROM:<from address>
RCPT TO:<to address>
FROM: from address
TO: to address
SUBJECT: Daily Reports
Content-Type: multipart/mixed; boundary="simpleboundary"
Please find attached the two reports.
// DD DSN=REPORT.FILE1,DISP=SHR
// DD *
// DD DSN=REPORT.FILE2,DISP=SHR
// DD *
QUIT //SYSUT2 DD SYSOUT=B,DEST=SMTP
Any help in this matter will be highly appreciated.
February 6, 2006 3:15 PM
February 7, 2006 6:22 PM