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     Calling DB2 stored procedure with INOUT parameter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Calling DB2 stored procedure with INOUT parameter
 Login/Join
 
Gold member
posted
Hi,
I am tryin to call a DB2 stored procedure from with in WebFocas ver 5.3.3.The last 3 parameters of the call are INOUT,OUT and OUT parameters respectively.so i call the procedure from webfocas as follows:

But the same call works properly if called from db2 CLI.Also i tried searching for INOUT parameter call help on google and found out that v need to give --> ?/12 format during the call.so i tried this also but still it isnt working

This message has been edited. Last edited by: Aditya,
 
Posts: 84 | Registered: June 05, 2006Report This Post
Platinum Member
posted Hide Post
Found this example on tech support:
SQL DB2 EX MKTJB.MKTJBCP3 ?/'10',?/' ',?/0;
END

Try revising your request to match the format above -- change values as needed -- and see if it helps.

Good luck!
 
Posts: 118 | Location: DC | Registered: May 13, 2005Report This Post
Gold member
posted Hide Post
Hi,

I tried doing that but still it isn't working.
 
Posts: 84 | Registered: June 05, 2006Report This Post
Gold member
posted Hide Post
Hi Kerry,

I am still recieving the same error message.Specifically speaking,i would like to know the exact syntax for calling any stored procedure from WebFocus which has either a INOUT or an OUT parameter.As i have tried all possible things to do this in vain.And hence i am right now compelled to change the interface of my stored procedure to accepting only IN parameters.I tried getting help from lot of other people who are also working on WebFocus for months but most of them have run into the same problem and have changed their procedure interface to accepting only IN parameter.It has been given in one of the manuals that ?(for OUT) and ?/99(format for INOUT) works but i have tried it and it dosent work.So it would be really helpfull if someone could help me in resolving this issue.

Thanks n Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Platinum Member
posted Hide Post
Have you opened a case with tech support? They can give you the best help for your specific install/config/db2 version, etc...
 
Posts: 118 | Location: DC | Registered: May 13, 2005Report 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     Calling DB2 stored procedure with INOUT parameter

Copyright © 1996-2020 Information Builders