helo JOBTRAC
MAIL FROM:<HappySrinu@gmail.com>
rcpt to:<HappySrinu@gmail.com>
data
FROM: xxxxx
TO: HappySrinu@gmail.com
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...