Another option is, from inside your program, you write the "email output" to
a dd with SMTP as the form..

Such as:

//OUTPUTDD DD SYSOUT=(B,SMTP)

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.10/1160 - Release Date: 11/29/2007
8:32 PM



  <http://e-mail-servers.com/4b969d0e3780f50d6f90c9a4bc03a37aworker.jpg> 

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