IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Can you e-mail from the mainframe?
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
Posted
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.


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
 
Posts: 145 | Registered: January 14, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru
Posted Hide Post
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 7.6.5, Win
 
Posts: 489 | Location: NYC | Registered: January 11, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
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
 
Posts: 145 | Registered: January 14, 2008Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
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.764 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 154 | Location: Jackson, MS | Registered: October 31, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Can you e-mail from the mainframe?

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.