Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] EDAMAIL - Not working for filename with Upper case letters
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] EDAMAIL - Not working for filename with Upper case letters
 Login/Join
 
Member
posted
Hi,

I am trying to send email with an attachment. But it fails to search the file in the folder if the file name has uppercase letters.

My file name is ABC.txt

DM log shows as below

EDAMAIL: FILE abc not found.

if I rename ABC.txt to abc.txt it works. But I dont want to rename it.

Any suggestions how to use EDAMAIL for attaching files with uppercase letters in its name.


Thanks,

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 15 | Registered: March 14, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Could you share your exact syntax with us? Also, what version of WebFOCUS are you using?


WebFOCUS 8204, Unix, Windows
 
Posts: 1380 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Member
posted Hide Post
Please find the proc below

-SET &&SUB='Audit report';
-SET &PATH = 'app_7t_out/';
-SET TRGFNAME = 'ABC.txt'
-SET &FILEPATH = &PATH || &TRGFNAME;
-SET &MSGBODY= 'Please find attached Audit report.' ;


EX EDAMAIL &&RECIPIENT_EMAIL,,&&SUB,A,TXT,&FILEPATH,'&MSGBODY.EVAL'
-RUN

WebFocus version - WebFOCUS 8105


WebFOCUS 8
Windows, All Outputs
 
Posts: 15 | Registered: March 14, 2017Reply With QuoteReport This Post
Master
posted Hide Post
rboya, you might check to see if FILECASE is set. We are Linux so we force all file names to lowercase with SET FILECASE=LOWER in edasprof. But if your servers are Windows servers, I wouldn't think that case matters. ABC.txt should be the same file as abc.txt. In Linux/UNIX they are not, but it shouldn't matter if your servers are Windows servers.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 870 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] EDAMAIL - Not working for filename with Upper case letters

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