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.

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

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Brazee
Sent: Friday, November 30, 2007 11:38 AM
To: [email protected]
Subject: Re: Send email from MVS cobol

On Fri, 30 Nov 2007 06:56:09 -0800 (PST), Bill Gentry
<[EMAIL PROTECTED]> wrote:

>Have an interesting challenge.  I have a requirement that dictates
>that email be sent from an MVS (z/OS) cobol program.   In
>oversimplified terms, this means that I'd read a file that would 
>contain email addresses and based on various criteria send email to any

>number of those addresses.  I know how to send email from JCL, but 
>require more precision than JCL can give me.

I'm guessing your problem is how to run an unknown number of JCL or
procs from the output of your CoBOL extract program.   Is this
correct?

----------------------------------------------------------------------
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