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 am trying to create a procedure in WebFocus using SQL. When I run the sql directly on the database the sql runs fine with no errors. But when I try to create a procedure using the "Type SQL" or SQL from file I get the below message? There is no error in the SQL for right paren?? Is there a limitation to the lines of SQL to be used in WebFocus, my sql code has 120 lines? Any idea's?
(FOC1400) SQLCODE IS 907 (HEX: 0000038B) : ORA-00907: missing right parenthesis : Error context area: NUM <= 100 L (FOC1405) SQL PREPARE ERROR. (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: SQLOUT BYPASSING TO END OF COMMAND
You should check the Adapter Administration for UNIX, Windows, OpenVMS, i5/OS, and z/OS manual to see if there are any restrictions to the SQl you can pass to WebFOCUS.
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
There is no limitation on # of lines as far as I know. We have a couple of procedures that use a couple hundred lines of SQL (don't ask!) If it does not run inside of SQL SQLORA and END as Frans suggests, there is something else wrong. That method is called SQL passthru, which instructs WF to completely pass the entire statement directly to the DBMS without parsing anything. Your other alternative is to create a stored procedure which eliminates WF completely except for the fact that there is a master file that can use the results of the procedure. This is all in the documentation.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007