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.
Could someone please help with the following error:
FOCUS 7.3.3 14.50.02 03/26/2008 FOCUSPGM LINE 9 18.02
TABLE FILE FREESHPT PRINT * END (FOC2590) AGGREGATION NOT DONE FOR THE FOLLOWING REASON: (FOC2594) AGGREGATION IS NOT APPLICABLE TO THE VERB USED SELECT T1."",T1."",T1."",T1."",T1."",T1."",T1."" FROM JACKIE.FREESHIP T1 FOR FETCH ONLY; (FOC1400) SQLCODE IS -104 (HEX: FFFFFF98) XOPEN: 42000 (FOC1406) SQL OPEN CURSOR ERROR. : FREESHPT
There is no error, nothing to worry about - they're warning messages generated by the SQL Tracing commands that must be active for your program.
Your PRINT statement gets translated to a SQL SELECT statement without a GROUP BY. If you had a SUM, it would get translated to a SQL SELECT statement with a GROUP BY.
Cheers,
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 so much for taking the time to look at this. I figured it had something to do with the MFD, but was confused. The original MFD was created by WebFocus synonym generator, then I tried to make it more readable. I have now learned my lesson, leave well enough alone!
I have regenerated the MFD, and the procedure seems to be working. I am especially proud of this one as it is calling a Cobol program which is then calling a DB2 stored procedure.
The alias is only optional for non-relational masters. For relational masters, as Francis said, the alias is used to construct the SQL statement. And masters generated by the synonym generator or from the Web Console should NEVER be modified by hand. As you found out, this could generate a world of hurt.
Also please update your signature with your product suite, releases, and platforms. That allows us to adjust our answers based on what release you are running.
And since you are doing COBOL to DB2, there is a recent post about executing a 3GL from WebFOCUS. Maybe you could offer the guy a suggestion that would work for him. The post is fairly new. Check it out.