I’m trying to use SMTP to send emails using IBM JCL (IEBGENER). This is the JCL I’m using.I’m getting INVALID COMMAND errors on the. The data termination in SMTP step is period “.”. So keep on repeating these and you can create multiple emails. //IEBGENER JOB ACCT,’DATA. I suspect that your SMTP service was upgraded and may have become more sensitive to errors in setting up messages — your example has a few.
|Published (Last):||1 January 2012|
|PDF File Size:||15.66 Mb|
|ePub File Size:||16.38 Mb|
|Price:||Free* [*Free Regsitration Required]|
When I execute what you have posted, I receive Proper usage of the boundary delimiter in a multipart message generally requires that the boundary delimiter be followed by a blank line.
My bad, you’re right. Sign up using Facebook. Email Required, but never shown. Raja Reddy 8 18 All one physical line, just as shown.
Unfortunately, I do not have access to the configuration files. Post as a guest Name.
Sign up using Email and Password. QUIT Note that the blank lines in the above exampe are significant and that the last boundary delimiter has two trailing hypens. Still trying, thanks for your time. The rules for the boundary subparameter are defined in RFC under multipart messages.
iebgenef So it’s hard to pick the pit. Sign up or log in Sign up using Google. The boundary subparameter of the Content-type parameter relates to multipart messages it is the boundary delimiter between message parts.
Using the IEBGENER utility to copy a mail file to a JES sysout file
Here is the JCL used:.
The Content-type of your message is not multipart so I imagine that “support” for the boundary subparameter may have been dropped yielding unpredictable results. Also, the last boundary delimiter, the one that terminates the last part of the message should have two hyphens appended to it. Here is the JCL used: Taking all this into consideration, a conforming message would look more like: Since I receive different results than you, perhaps it is a configuration issue.
All of sudden body content of the email is blank and shows no data, Email is being sent but without body content in the email but subject line is apprpriate. Note that the blank lines in the above exampe are significant and that the last boundary delimiter has two trailing hypens.
IBM MAINFRAME: EMAIL using IEBGENER – SMTP