SUBJECT: test mail
Content-Type: text/plain; name="ABC.csv"
Content-Disposition: attachment; filename="ABC.csv"
DEV.XXXX.TEST. EMAIL.FILE is the file which should be send as attachment. the extension csv gives the Excel format.
Both files DCB’s should match.
This is the control file DEV.XXXX.TEST.FILE.
Create the control file & the file which needs to be sent with same LRECL, etc. only then it works...