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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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: 454 | Location: Europe | Registered: February 05, 2007Report 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: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Doug,
Look at your redirection settings for both type of file.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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: 2128 | Location: Customer Support | Registered: April 12, 2005Report 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.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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] Naming CSV or XLSX files in InfoAssist

Copyright © 1996-2020 Information Builders