Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datawindow stored procedure retrieval argument

Status
Not open for further replies.

rashuk

Programmer
Jun 27, 2003
1
US
HI,
I am using stored proecdure to build datawindow. Stored procedure takes one argument and returns ref cursor. However, when I try retrieve in datawindow, it does not pass the argument value correctly. It always sends zero.

I am using Oracle 8.1.7 and powerbuilder 7.

Here is the code from datawindow export.

table(column=(type=char(8) updatewhereclause=yes name=accid dbname="accid" )
column=(type=char(4) updatewhereclause=yes name=poolid dbname="poolid" )
column=(type=number updatewhereclause=yes name=txna dbname="txna" )
procedure="1 execute CITI_FIRECALL.SHOW_TAXBASIS_DETAILS;0 ACCID_IN='0'" arguments=(("ACCID_IN", string)) )


You can see that it has hardcoded argument value.

Thanks.
 
I 'd like to see your pb source.

and does sp create #tables ?
'cause it's important.

i hope your answer.
My mail is royjimcam@hotmail.com



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top