> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Howard Brazee
> Sent: Friday, November 30, 2007 10: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?

Didn't see the original.

You know how to submit email via JCL. Why not have your COBOL program
create a JCL stream for each message it wants to email and just write
that JCL stream out to a DD statement allocated to an DD
SYSOUT=(*,INTRDR)?

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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