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.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have a FEX that first runs an sql script and then build the report upon the SQLOUT.
If I run it from the dashboard or direct from DS it works fine, but when I run it by Reportcaster I get the error message
quote:
Task error: THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: SQLOUT No report to distribute.
the fex...
ENGINE SQLMSS SET DEFAULT_CONNECTION Fidessa
SQL SQLMSS PREPARE SQLOUT FOR
SELECT DISTINCT T.ToBankview,B.*
FROM dbo.BankviewRecords B, dbo.BO_Transactions T
WHERE B.Fidessa_Transaction_Id = T.Trade_id and T.ToBankview='direct';
END
-RUN
SET ASNAMES = ON
TABLE FILE SQLOUT
SUM
Quantity AS 'QUANT'
BY BO_Book_Id AS 'BOOK'
BY Instrument_Code AS 'INSTRU'
BY ISIN_code AS 'ISIN'
BY Security_name AS 'SECNAAM'
BY Buy_Sell AS 'BS'
WHERE ( Fidessa_Version EQ 1 );
ON TABLE HOLD AS H_FIDES
END
-RUN
DEFINE FILE H_FIDES
SUBGRP/A10=IF BOOK EQ '216' OR '716' THEN 'OG fondsen' ELSE 'Aandelen';
BOUGHT/D15=IF BS EQ 'B' THEN QUANT ELSE 0;
SOLD/D15=IF BS EQ 'S' THEN QUANT ELSE 0;
END
TABLE FILE H_FIDES
SUM
BOUGHT AS 'KOOP'
SOLD AS 'VERKOOP'
COMPUTE TOT_QTY=BOUGHT+SOLD; AS 'SALDO'
BY SUBGRP
BY INSTRU AS 'FCODE'
BY ISIN
BY SECNAAM AS 'FNAAM'
ON TABLE NOTOTAL
ON TABLE HOLD AS HOLDDATA
END
TABLE FILE HOLDDATA
SUM
KOOP/D12S AS 'Bought'
VERKOOP/D12S AS 'Sold'
SALDO/D12S AS 'Total'
BY SUBGRP AS ''
BY HIGHEST SALDO NOPRINT
BY FCODE AS 'FidessaCode'
BY ISIN
BY FNAAM AS 'fundname'
HEADING
"Traderecap Fidessa <+0>&DATEtMDYY <+0> "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
END
any suggestions?
how can I debug thisThis message has been edited. Last edited by: FrankDutch,
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Frank I don't know if this makes any difference at all...but I have this in report caster coded this way with no problems SQL SQLMSS SET SERVER Magic SET SQLENGINE = SQLMSS SQL SQLMSS
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Frank 1) instead of holding the first pass to H_tides. If you were to pchold to exl2k would that work? This would show most likely the problem is occurring right up front and cut down some serious debug time. 2) I would suggest this code either as a pro process or right in the top of your procedure. ENGINE SQLMSS END SESSION; -RUN SQL SQLMSS SET SERVER &&XSERVER [your server name]; END
then you can follow with your code.... SQL SQLMSS SELECT .... FROM.... WHERE .... ; TABLE ON TABLE HOLD END
RC more sensitive than DS when it comes to parsing.... found that to be the case with SET ASNAMES=ON in one scenario... Hope this puts you on the right track.
Is it possible there was another error right before the one that was distributed by ReportCaster?
Do you need to pass the User ID and Password to access that database?
I have this SQL PREPARE statement that works, though I've never run it via ReportCaster:
SET SQLENGINE=SQLMSS
SQL SET USER MISDEV/quser,qpass
APP HOLD MS_STATEMENT
SQL PREPARE SQLTEMP FOR
SELECT *
FROM MS_STATEMENT.DBO.STATEMENT_MESSAGE_TEXT
END
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
Thanks for all the suggestions and helpfully hints. The process was important enough so I created a workaround by changing the sql and putting that on the server as a VIEW. Next step was creating a master on that VIEW. That solved my problem in RC, technical there seems to be no difference and I hope to find once what the reason was.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006