|Published (Last):||12 May 2017|
|PDF File Size:||12.56 Mb|
|ePub File Size:||18.6 Mb|
|Price:||Free* [*Free Regsitration Required]|
If you have worked on the mainframe, you will probably be generating lots of reports but sending email reports to stakeholders in an automated way using SMTP is a big trouble. In theory this is very simple task but actual implementation is often time taking due to various factors such as site settings, SMTP settings and of course the data that you want to send.
Make sure pay attention to details including blank lines as those are very important. DSN is the attachment dataset. That is, it contains the contents which you want in the attachment.
Dataset contents will be same as above. This site uses Akismet to reduce spam. Learn how your comment data is processed.
Technology Central. How to send SMTP email from Mainframe environment If you have worked on the mainframe, you will probably be generating lots of reports but sending email reports to stakeholders in an automated way using SMTP is a big trouble. As a rule, always have a blank line after the content headers, otherwise email delivery will have issues. If you have data having binary or null values , then either base64 encode them using Content-Transfer-Encoding: base64 or zip and transfer them using a ZIP utility.
Make sure file length for all 3 files i. DSN are same. In that case create other 2 files with same length as attachment file. Leave a Reply Cancel reply.
Subscribe to RSS
IBM MAINFRAME & MVS FORUM
Triggering Emails from JCL
Using the IEBGENER utility to copy a mail file to a JES sysout file