Hi,
I have a oracle procedure which returns resultset to datastage using Ref. cursor.
Understood from the earlier posts that STP stage does not support REf. cursor. Can I use ODBC/OCI stages to call that procedure and get the resultset data from that procedure?
Is there any other way to get the resultset from procedure other than using the Ref cursor...
Thanks in advance...
jagadhish
Getting the resultset from Oracle stored procedure
Moderators: chulett, rschirm, roy
Getting the resultset from Oracle stored procedure
REGARDS,
JAGS
JAGS
Hi,
We cant write embedded Sql in the stages( client requirement), Any Insert or Select should be done through stored procedure. So I need to call this procedure to get the resultset and map it to the output columns.
We can call procedure and declare all the columns in the in the output tab of odbc stage , but how should the cursor resultset is mapped to those columns?
I'm not getting the correct syntax which will map the resultset to the columns.
what is the call syntax i should write for this?
thanks in advance,
Jags
We cant write embedded Sql in the stages( client requirement), Any Insert or Select should be done through stored procedure. So I need to call this procedure to get the resultset and map it to the output columns.
We can call procedure and declare all the columns in the in the output tab of odbc stage , but how should the cursor resultset is mapped to those columns?
I'm not getting the correct syntax which will map the resultset to the columns.
what is the call syntax i should write for this?
thanks in advance,
Jags
REGARDS,
JAGS
JAGS