[Solved] Error saving big EXCEL output as .xlsx with EXL07 in WF 8.0 Window
How do I create a .xlsx file in WF 8.0 App Studio Window server? I need to save the WF output as .xlsx to import to MS Project. It won’t take the old .xls format. The output file is 27 MB, about 26,000 rows, 35 columns. If I run with ON TABLE PCHOLD FORMAT EXL2K , it came out OK, but can only save as .xls file. If I run with ON TABLE PCHOLD FORMAT EXL07, it come out with 0 bytes. It is not complicated EXCEL, it use SUBHEAD line. Here is code TABLE FILE TEST PRINT field 1 Field 2 …. Field 35 BY filed 1 NOPRINT BY field 2 NOPRINT ON field 1 SUBHEAD “ subhead line 1” ON field 2 CUBHEAD “ very long subhead text here, I use <0x to continue for 3 lines” ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL07 (or) ON TABLE PCHOLD FORMAT EXL2K
thanks,This message has been edited. Last edited by: Emily Lee,
WebFOCUS 8.2.01 AppStudio HTML, PDF, Excel
August 22, 2014, 12:49 PM
eric.woerle
Emily,
Its PCHOLD FORMAT XLSX.
In my install of WF8008, I had to remove the IBIF_excelservurl from my configuration for it to work properly.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
August 27, 2014, 11:05 AM
Emily Lee
Eric,
Thanks for your suggestion. It proofs to be our configuration issue. We are working on it with IBI.
thanks.
WebFOCUS 8.2.01 AppStudio HTML, PDF, Excel
August 27, 2014, 11:10 AM
Francis Mariani
You can neutralize the EXCELSERVURL setting by doing this in the fex:
-* For EXL07
SET EXCELSERVURL=''
For the like of me, I cannot figure out WHY we have to do this.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 27, 2014, 11:15 AM
Francis Mariani
From the documentation:
Creating Reports With WebFOCUS Language > Choosing a Display Format > Using Excel Display Formats: EXL07, EXL2K, EXL97, EXCEL
Overview of EXL07 Format... Reference: Building the .xlsx Workbook File... Syntax: How to Select the Method for Zipping the .xlsx File...
You designate the method and location where the zipping will occur by setting EXCELSERVURL to a URL (for the WebFOCUS Servlet) or to a blank (for JSCOM3). You can set this value for a specific procedure or for the entire environment.