Focal Point
[SHARING] Send yourself a text message from WebFOCUS

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6247032326

August 15, 2012, 04:50 PM
ABT
[SHARING] Send yourself a text message from WebFOCUS
So, the issue was raised today "hey, I've got a long running deferred job that I need to make sure completes and does not get killed." This code will send you a text message when it is finished running. Note my carrier is AT&T and you will have to locate your phone's own email address (see this article: http://www.popularmechanics.co...ology/how-to/4318204 for an explanation and small list of popular carriers' default domains and naming structures).


txt_me.fex
TABLE FILE CAR
PRINT
*
END
-RUN
 
 
-SET &TOVAR      = '9995551212@txt.att.net';
 
SET ASNAMES=ON
 
-MRNOEDIT EX -lines 6 EDAMAIL &TOVAR.EVAL; ,
  ,
  ,
  ,
  ,
&FOCFEXNAME Finished running at &TOD


Hope this helps someone!

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
August 15, 2012, 05:24 PM
Francis Mariani
Thanks for sharing this - I would love to make it work.

I get this error, probably because I do not have an email server set up:

EDAMAIL: Communication node is not found.
 (ICM18822) Communication Error



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 15, 2012, 06:35 PM
Waz
I think that there is some setup, i.e. the mail server address.

Great idea ABT, Good One


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!