Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SMS Text Message via Report Caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] SMS Text Message via Report Caster
 Login/Join
 
Member
posted
Has anyone tried to use ReportCaster to send text messages? I can initiate the message using the carrier's email format such as 3335551212@att.mail.net in which the carrier converts the email to SMS format and forwards to the recipient's mobile phone, however, the recieved message is html code, rather than the actual message.

Any suggestions?

This message has been edited. Last edited by: <Kathryn Henning>,


7.6.8
Windows xp
html
 
Posts: 22 | Location: Minneapolis, MN | Registered: January 24, 2008Report This Post
Virtuoso
posted Hide Post
What would be the content of the message? A report? Try changing the output type to alpha and make sure it is inline rather than an attachment.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
The inline feature does work. I tried alpha format and still received html code in the message.

The content of the message is a notification that a reimbursement has been paid and a deposit has been completed to the recipient's bank account.


7.6.8
Windows xp
html
 
Posts: 22 | Location: Minneapolis, MN | Registered: January 24, 2008Report This Post
Guru
posted Hide Post
You could try output format WP


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
No Frans

format WP gives you in the end HTML code and not flat text.
Inline was the solution.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Thanks everyone. I will keep trying and if I get one format to work, I will be sure to post it here.


7.6.8
Windows xp
html
 
Posts: 22 | Location: Minneapolis, MN | Registered: January 24, 2008Report This Post
Guru
posted Hide Post
Has anyone done this or experimented with this?
I'd like to hear more about putting out text messages using RC.
Thanks.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Platinum Member
posted Hide Post
LDW,

I never tried to use Report Caster but I know I can send a text message from a .fex file.

Please look at the below code. Also, when you execute the procedure with the code below it takes about 20 seconds before you get the text message.

  
-SET &HOUR = EDIT(&TOD,'99');
-SET &M = IF &TOD GT '12.00.00' THEN 'pm' ELSE 'am';
-SET &FLAG = IF &TOD GT '13.00.00' THEN 1 ELSE 0 ;
-SET &HOUR = IF &FLAG IS 1 THEN &HOUR - 12 ELSE &HOUR ;
-SET &MINUTES = EDIT(&TOD,'$$$99');
-SET &SECONDS = EDIT(&TOD,'$$$$$$99');
-SET &TIME = &HOUR | ':' | &MINUTES | &M;
-TYPE TIME = (&TIME)

-SET &DATE_TIME = &DATEMDYY |' '| &TIME;
-TYPE DATE/TIME = (&DATE_TIME)

TABLE FILE CAR
PRINT COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL
WHERE RECORDLIMIT EQ 5;
END
-RUN


-SET &TOVAR      = '2095555555@vtext.com';

SET ASNAMES=ON

EX EDAMAIL &TOVAR.EVAL; ,  ,  ,  ,  ,&FOCFEXNAME Finished running at &TIME


-*Your target's e-mail address depends on his mobile provider:
-*
-*Provider 		Format
-*Sprint 		phonenumber@messaging.sprintpcs.com
-*Verizon 		phonenumber@vtext.com
-*T-Mobile 		phonenumber@tmomail.net
-*AT&T 			phonenumber@txt.att.net
-*AIM +1		phonenumber


Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats
 
Posts: 121 | Location: California | Registered: June 19, 2008Report This Post
Guru
posted Hide Post
This works great!
Thanks prodrigu.
The only change I had to make to get it to work, for me, was add a FROM address.
Thanks again.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Platinum Member
posted Hide Post
gregv,

If I may ask what does the code look like now with the From Address?

Thanks,
prodrigu


Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats
 
Posts: 121 | Location: California | Registered: June 19, 2008Report This Post
Guru
posted Hide Post
Sure. Here it is.
APP PREPENDPATH IBISAMP
-SET &HOUR = EDIT(&TOD,'99');
-SET &M = IF &TOD GT '12.00.00' THEN 'pm' ELSE 'am';
-SET &FLAG = IF &TOD GT '13.00.00' THEN 1 ELSE 0 ;
-SET &HOUR = IF &FLAG IS 1 THEN &HOUR - 12 ELSE &HOUR ;
-SET &MINUTES = EDIT(&TOD,'$$$99');
-SET &SECONDS = EDIT(&TOD,'$$$$$$99');
-SET &TIME = &HOUR | ':' | &MINUTES | &M;
-TYPE TIME = (&TIME)

-SET &DATE_TIME = &DATEMDYY |' '| &TIME;
-TYPE DATE/TIME = (&DATE_TIME)

TABLE FILE CAR
PRINT COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL
WHERE RECORDLIMIT EQ 5;
END
-RUN


-SET &TOVAR      = '9999999999@vtext.com';

SET ASNAMES=ON
EX EDAMAIL &TOVAR.EVAL ,&TOVAR.EVAL  ,'TEST4'  ,  ,  ,&FOCFEXNAME Finished running at &TIME


-*Your target's e-mail address depends on his mobile provider:
-*
-*Provider 		Format
-*Sprint 		phonenumber@messaging.sprintpcs.com
-*Verizon 		phonenumber@vtext.com
-*T-Mobile 		phonenumber@tmomail.net
-*AT&T 			phonenumber@txt.att.net
-*AIM +1		phonenumber
  



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Master
posted Hide Post
Thank you very much for your posts prodrigu and gregv.

I had just received a new requirement, within the last couple of days, to send out alerts/reports, and didn't know about the EDAMAIL application tool.

I see it now, in the 'Developing Reporting Applications' manual bigger than life.

From my research, it looks like EDAMAIL was a new feature in one of the 7.x releases.

This example, is working fine for me:
APP PREPENDPATH IBISAMP
TABLE FILE EMPLOYEE
"HR Report"
PRINT LAST_NAME
      FIRST_NAME
      DEPARTMENT
      CURR_SAL
ON TABLE SET PAGE NOPAGE
ON TABLE HOLD AS MYFILE FORMAT HTML
END
-RUN
-*
-MRNOEDIT EX EDAMAIL x@x.org, x@x.org , Test Report ,  , HTML , MYFILE  

Thank you, again.




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
Very nice indeed. Time to read some documentation. Smiler



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Master
posted Hide Post
Very cool.

Here are some number formats for Canadian providers:

Rogers Wireless: [10-digit phone number]@pcs.rogers.com
Fido: [10-digit phone number]@fido.ca
Telus: [10-digit phone number]@msg.telus.com
Bell Mobility: [10-digit phone number]@txt.bell.ca
Kudo Mobile: [10-digit phone number]@msg.koodomobile.com
MTS: [10-digit phone number]@text.mtsmobility.com
President’s Choice: [10-digit phone number]@txt.bell.ca
Sasktel: [10-digit phone number]@sms.sasktel.com
Solo: [10-digit phone number]@txt.bell.ca
Virgin: [10-digit phone number]@vmobile.ca


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Virtuoso
posted Hide Post
Thanks George. That list is very helpful.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Platinum Member
posted Hide Post
Where does one read about EDAMAIL? I see no reference in my App Studio help. I wasn't even aware it existed.


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report This Post
Guru
posted Hide Post
As mentioned by David Briars:
quote:
in the 'Developing Reporting Applications' manual



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SMS Text Message via Report Caster

Copyright © 1996-2020 Information Builders