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     [SOLVED] Naming CSV or XLSX files in InfoAssist
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Naming CSV or XLSX files in InfoAssist
 Login/Join
 
Expert
posted
What's the trick, if any, in Naming CSV or XLSX files in InfoAssist (Preferred) or App Studio?

Here's the results from Text Editing in App Studio, which is still not perfect:
-* Naming a CSV file results on 'WFServlet.csv'
ON TABLE PCHOLD AS 'My CSV File' FORMAT COMT
-* Naming a XLSX file results on 'my xlsx file': All lower case.
-*ON TABLE PCHOLD AS 'My XLSX File' FORMAT XLSX
Uncomment either of the PCHOLD lines and let me know your results if different than the AS 'Name' and what you did to accomplish that (Or a reference to a FM (FOCUS Manual)) Smiler.

This message has been edited. Last edited by: Doug,


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
Both are different CSV is all uppercase except the extension. XLSX all lowercase. Smiler


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 393 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
What I'm looking for is the ability to use 'My CSV File' intead ot 'WFServlet' from iwthing the PCHOLD line in the fex.

I can change it to whatever I want in a RC Job.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Doug,
Look at your redirection settings for both type of file.


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2165 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
So, this cannot be done, right?
ON TABLE PCHOLD AS 'MY_CSV_FILE' FORMAT COMT
as it will still use "WFServlet.csv" as the file name.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Doug

I don't see comt in the redirection settings so I doubt you can do it.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1569 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
COMT format generates a .csv file which exist in Redirection Settings.

The following prompt me to save AAAAA file and I have both Redirect and Save Report set to Yes in redirection settings for .csv file
TABLE FILE CAR
SUM RETAIL_COST
BY COUNTRY
ON TABLE PCHOLD AS AAAAA FORMAT COMT
END


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2165 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
Thanks,

So, this CAN be done! Smiler

TABLE FILE CAR
SUM DCOST BY COUNTRY
ON TABLE PCHOLD AS MY_CSV_FILE FORMAT COMT
END

Setting:                 Saves AS              
Save Report = yes   MY_CSV_FILE.csv
Save Report = no    WFSerlet.csv

~ Doug


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Naming CSV or XLSX files in InfoAssist

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