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     [Resolved]How to call Oracle store procedure in WebFOCUS procedure script?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Resolved]How to call Oracle store procedure in WebFOCUS procedure script?
 Login/Join
 
Member
posted
Hi,

I have to call a Oracle store procedure in WebFOCUS procedure(fex file). I am googling the result how to call the SQL sever store procedure, but did not find how to call the Oracle store procedure.

I could execute the Oracle store procedure in Oracle SQL Developer like this:
begin
SL_NO_INCEDENT('185', '185', 'EDIT');
end;

I've tried
SQL EX SL_NO_INCEDENT('185', '185', 'EDIT');
but it is not working.

do not worry about the input parameters,any help on this?

Thanks!

2013-01-09 update:
Question answered by MattC.

This message has been edited. Last edited by: Pippen,


WebFOCUS 7.7.03, Windows 7 64bit, IE8
 
Posts: 3 | Registered: August 15, 2012Report This Post
Guru
posted Hide Post
This is what I use to call an Oracle procedure

SQL
CALL SCHEMA.PROCEDURE();
-RUN
  


It works fine for me.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Gold member
posted Hide Post
I have used this syntax in the past:
 
-SET &QUALIFIER   = &DB_OWNER_ID |'.'| &DB_PACKAGE |'.';

ENGINE SQLORA SET DEFAULT_CONNECTION &CONNECTION_NAME
SQL SQLORA EX &QUALIFIER.storedprocedure_name ¶meter ;
 


WF 7.6.10, Windows, PDF, Excel
 
Posts: 75 | Location: Dallas, TX | Registered: February 12, 2004Report This Post
Member
posted Hide Post
quote:
Originally posted by MattC:
This is what I use to call an Oracle procedure

SQL
CALL SCHEMA.PROCEDURE();
-RUN
  


It works fine for me.


Hi MattC,

Thanks for the answer, it works for me !
by the way, I have to mention the agent name SQLORA after SQL, so all my execute script would be like this:

 
ENGINE SQLORA SET DEFAULT_CONNECTION conntion_name
SQL SQLORA
CALL MY_SCHEMA_NAME.SL_NO_INCEDENT(160, 160, 'EDIT');
END 


Question closed.
Thanks again.


WebFOCUS 7.7.03, Windows 7 64bit, IE8
 
Posts: 3 | Registered: August 15, 2012Report This Post
Guru
posted Hide Post
We use an -INCLUDE that has the connection string that has the SQLORA in there. That way we don't have to change in several places in each procedure.

Glad it works!


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report 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     [Resolved]How to call Oracle store procedure in WebFOCUS procedure script?

Copyright © 1996-2020 Information Builders