Can you set up a FOCEXEC and associated JCL to be able to create and send e-mails to users from within the FOCEXEC? We are running Rel 7.1 of Mainframe IBM FOCUS and although I don't think it can be done, am curious to see if anyone might have been able to do this.
Thanks in advance.This message has been edited. Last edited by: webmeister,
Mainframe FOCUS 7.0 VM/CMS and MVS/TSO
July 24, 2008, 02:48 PM
j.gross
There are commercial and freeware rexx routines out there to do just that. I've used some, but don't recall the name. Search around for (REXX SEND EMAIL MVS).
You can include it as a followup step, using RC and data set up by the Focus step.
(Ordinarily Focus returns RC=0; but -QUIT FOCUS nn will halt Focus a return RC=nn)
- Jack Gross WF through 8.1.05
July 24, 2008, 03:12 PM
webmeister
Thanks for the info, Jack! I'll do some searching and see what comes of it.
Mainframe FOCUS 7.0 VM/CMS and MVS/TSO
July 25, 2008, 02:46 PM
BlueZone
We use the following technique to send emails from within a mainframe focexec -
#1 - Write final hold file out to PS flat file #2 - Allocate a new PS file using DYNAM #3 - -WRITE actual JCL building lines to this new file. The JCL would be of the exact format you would like to have if you had a flat file to email from the mainframe. $4 - DYNAM submit this jcl-file
I have explained this in more detail previously in this thread here .
The JCL will have which ever utility is your shop standard for emailing from the mainframe. Hope that helps. Sandeep Mamidenna
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!