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] special characters in file name with EDAMAIL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] special characters in file name with EDAMAIL
 Login/Join
 
Gold member
posted
Hi,

I am facing issue with special characters (comma and dot) while using to send email.
This is my sample code. I need to use the company name as file name which might contain special characters.
When I run the below code I am getting (FOC1562) EDAMAIL: FILE 'test.test' NOT FOUND

Can someone please provide solution?

-SET &fileName = 'test.test';
TABLE FILE CAR
PRINT
COUNTRY
ON TABLE HOLD AS '&fileName' FORMAT PDF
END
-RUN

EX EDAMAIL emailtest@gmail.com,,edamail test,A,PDF,'&fileName'

Thank You
Sandhya

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 53 | Registered: December 06, 2011Report This Post
Expert
posted Hide Post
1. Your error has nothing to do with special characters
2. NEVER use comma's in a file name
3. Does test.test look like a PDF file to you?
4. EDAMAIL "requires" the file to be stored, not just created in space...
5. SMTP Server has to be setup on the Reporting Server
6. emailtest@gmail.com is a valid address?

Try:
   
-SET &FILENAME = 'test.test.pdf';
TABLE FILE CAR
PRINT
COUNTRY
ON TABLE HOLD AS FOCCACHE/&FILENAME FORMAT PDF
END
-RUN

EX EDAMAIL emailtest@gmail.com,,edamail test,A,PDF, FOCCACHE/&FILENAME
-RUN


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Sandhya,

Did you get this working?

Thanks Tom


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Gold member
posted Hide Post
Yes, this solution is working.
Is there any way to handle single quote (')?

Thanks
Sandhya
 
Posts: 53 | Registered: December 06, 2011Report This Post
Virtuoso
posted Hide Post
Sandhya

Try using ''' for each single tick mark..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Gold member
posted Hide Post
Thank You
 
Posts: 53 | Registered: December 06, 2011Report 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] special characters in file name with EDAMAIL

Copyright © 1996-2020 Information Builders