NOTICE: All information in and attached to the e-mail(s) below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message (electronic, paper, or otherwise). Thank you.
We only send email from our mainframe. We do not receive. Also, only batch jobs use the SMTP process, so it does not hurt in our instance. I wrote the program (written in COBOL) we use to format the emails. When I first wrote it, it was only called from JCL for a single email, so I required people to code the DD statement. Somewhere along the way, someone found out it could be called from a COBOL program. Then someone wanted to send multiple emails per step. All of this happened without the program being changed. It's a little late now to make that change. Larry Gray Large Systems Engineering Lowe's Companies 336-658-7944 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Ulrich Krueger Sent: Friday, November 30, 2007 12:05 PM To: [email protected] Subject: Re: Send email from MVS cobol Larry, I'd like to point out that the SMTP task is a very "single-minded" process. It can only do one thing at a time. So, while SMTP is reading in your 400-email spool file, nothing else happens until all 400 email have been prepared for sending and stored on disk in SMTP-internal format. No incoming emails are read, no other spool files waiting to be sent are processed, no stored emails are actually sent. Emails will be processed much faster thru the SMTP task, if you have no more than one email per spool file. OK, it's a little more overhead to make your mailer program dynalloc those spool files one message at a time, but you'll see marked improvements in SMTP performance. Regards, Ulrich Krueger -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Gray, Larry - Larry A Sent: Friday, November 30, 2007 08:43 To: [email protected] Subject: Re: Send email from MVS cobol If you are using the SMTP service that reads spool, you can put multiple emails into a single spool output. We have one job that sent over 400 emails from the same step. Make sure the last line of the data contains a single period. That will terminate the email body and allow the next line to start a new email. Larry Gray Large Systems Engineering Lowe's Companies 336-658-7944 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

