helo JOBTRAC
MAIL FROM:<[email protected]>
rcpt to:<[email protected]>
data
FROM: xxxxx
TO: [email protected]
SUBJECT: test mail
Mime-Version: 1.0
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...