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

Reply via email to