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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to return outputs from oracle stored procedure?

Status
Not open for further replies.

wwwalex

Programmer
Dec 12, 2011
2
US
I'm new to tcl.
I need to call oracle stored procedure that has two inputs and two outputs. I know how to retrieve result set, but I'm not sure how to retrieve two outputs with tcl. I tried:

set theQuery "{call storedProcedureName($Input1, $Input2, ?, ?)}"
set theQuery [list [list $theQuery]]

set returnCode [responderRequest -group "odbcConnector" -destination "odbcConnector" -dataType "DS" -data $theQuery -timeOut 100000 -rDataType "DS" -rData QueryResult]

This gives me error: wrong # of args.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top