Re: Send email from MVS cobol



On 11/30/07 09:56 am, Bill Gentry wrote:
Hi All,

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.

Anyone ever try this?

Bill,
While I've never tried it, since you said you know how to do it with JCL, a very simplified approach would be to include a DD-statement for the JES2 Internal Reader and send the JCL there. Probably not very efficient, but it should work until you find a better way. [If you're using JES3, I assume JES3 has a similar function, but it's been too long since I've looked at it.]

Not pretty, but the function is there.
Carl
.



Relevant Pages

  • Re: Combining Fields From Files Without COBOL Pgm?
    ... installing a COBOL program into production ... >would require installing JCL for the new jobstep. ... I wonder, Mr Trembley. ... sort or a JCL step or would you just cobble together an external sort? ...
    (comp.lang.cobol)
  • RE: Is IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD ... new?
    ... RESOLVED new in z/OS? ... I have JCL ... sometimes I want to concatenate onto MYDD and sometimes I do ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: Send email from MVS cobol
    ... that email be sent from an MVS (z/OS) cobol program. ... oversimplified terms, this means that I'd read a file that would ... require more precision than JCL can give me. ...
    (comp.lang.cobol)
  • Re: Send email from MVS cobol
    ... that email be sent from an MVS (z/OS) cobol program. ... oversimplified terms, this means that I'd read a file that would ... require more precision than JCL can give me. ...
    (comp.lang.cobol)
  • NY Metro NaSPA Chapter Meeting: Tuesday, 23 June 2009 in New York City
    ... "HiperDispatch from a SysProgs Perspective", Bob Rogers, z/OS ... The JCL Samples for Beginners was developed out of the need to simplify ... An Introduction to SLIP, Evan Haruta, IBM Corporation ...
    (bit.listserv.ibm-main)