[CASE-OPENED] EXL2K BYTOC fails because of an unrelated FOC32584 warning
Please see fex below.
See line 8. Because of the WHERE statement, the HOLD file H001 is empty.
See line 16. Because H001 is empty, a warning message is triggered: (FOC32584) WARNING: FILE H001 IS EMPTY
In the last step, the BYTOC breaks the code - the Excel document is created but not displayed.
Comment line 8 and the Excel document is properly opened.
This is even though the first steps access GG databases and the last step access the CAR databae - completely unrelated.
Remove BYTOC and the Excel document is properly opened.
SET HOLDLIST=PRINTONLY
SET HOLDFORMAT=ALPHA
TABLE FILE GGPRODS
SUM PRODUCT_ID
BY PRODUCT_ID
WHERE PRODUCT_ID LIKE '%APPLE%'
ON TABLE HOLD AS H001
END
TABLE FILE GGORDER
SUM
QUANTITY
BY PRODUCT_CODE
WHERE PRODUCT_CODE IN FILE H001
ON TABLE HOLD AS H002
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY PAGE-BREAK
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END
This message has been edited. Last edited by: <Kathryn Henning>,
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
December 26, 2013, 09:28 AM
Mighty Max
I get the Excel report in 7.6.11. Maybe a bug in 7.7.X?