Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] IS PL/SQL supported

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] IS PL/SQL supported
 Login/Join
 
Gold member
posted
Hello all.

I am wanting to take a couple of PL/SQL codes that I have for retrieving student data and place them in WF (somehow) so others can run them. I've checked the HELP content and I haven't found anything on PL/SQL. I see only certain SQL functions are supported. Can anyone confirm that PL/SQL is supported or not? If so, where can I find documentation on this? Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 49 | Registered: May 11, 2011Report This Post
Expert
posted Hide Post
I'm sure there will be certain PL/SQL commands that are not supported. Why not create stored procedures from the code, then create WebFOCUS meta-data of the stored procedures?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Check documentation on the Adapter for Oracle for examples of how to use PL/SQL resources from WebFOCUS, via WF synonyms (metadata) or direct SQL passthru calls.

This is the document you'd need for WebfOCUS 7.6:

DN 4500931.1209 - Adapter Administration for UNIX, Windows, Open VMS, i5/OS, and z/OS 7.6.11



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Platinum Member
posted Hide Post
Use this syntax:

SQL SQLORA SET SERVER [YOUR ORACLE CONNECTION]
SQL SQLORA
[YOUR PL/SQL CODE HERE]
;
TABLE
ON TABLE HOLD AS ...
END


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Gold member
posted Hide Post
Okay. SO what I'm gathering is that it can be done. I just need to gain this knowledge of how to do it. Let me check the documentation suggested and try the Oracle connection and explore. I'll repost aftewards. Thanks,

P


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 49 | Registered: May 11, 2011Report This Post
Gold member
posted Hide Post
bug's method works for straight SQL. Thank you for that. However, when plugging in my PL/SQL, no go. There are some dynamic parms that could be the issue.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 49 | Registered: May 11, 2011Report This Post
Expert
posted Hide Post
That's what I thought would happen. Is it not possible to create a stored procedure containing your PL/SQL, then call the stored procedure using straight SQL?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Francis, that may be possible. I'll have to try that. Would this work if I have dynamic parameters in the PL/SQL? I'm thinking it should but I want to make sure.

Thanks, P


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 49 | Registered: May 11, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] IS PL/SQL supported

Copyright © 1996-2020 Information Builders