can not call a Stored Procedure using odbc stage
Moderators: chulett, rschirm, roy
can not call a Stored Procedure using odbc stage
Hi every, I tried to call a stored procedure using an odbc stage.
here is the error message, does anyone know what's going on? Thanks.
|LdUserDetail_0812.ODBC_50: DSD.BCIConnect connecting to userDB, call to SQLConnect failed.
SQLSTATE=IM002, DBMS.CODE=0
[DataStage][SQL Client][ODBC][DataDirect][ODBC lib] Data source name not found and no default driver specified|
here is the error message, does anyone know what's going on? Thanks.
|LdUserDetail_0812.ODBC_50: DSD.BCIConnect connecting to userDB, call to SQLConnect failed.
SQLSTATE=IM002, DBMS.CODE=0
[DataStage][SQL Client][ODBC][DataDirect][ODBC lib] Data source name not found and no default driver specified|
-
- Premium Member
- Posts: 483
- Joined: Thu Jun 12, 2003 4:47 pm
- Location: St. Louis, Missouri USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 136
- Joined: Wed Sep 29, 2004 5:56 am
- Location: Chennai
- Contact:
Hi,
Can you tell me how did you call Procdure in Oracle OCI stage.
Regards,
Rajeev Prabhu
Can you tell me how did you call Procdure in Oracle OCI stage.
Regards,
Rajeev Prabhu
acool wrote:I tried OCI stage, and it works. But is there any disadvantage if I use OCI stage instead of odbc stage?chulett wrote:You might want to consider using an OCI stage, or better yet (if on 7.5) the Stored Procedure stage.
Hi acool,
I have successfully called a DB2 stored procedure using a ODBC stage using 'user defined SQL query' option and writing:
call procedurename(argument list);
in the 'enter sql' tab
but was unsuccessful using 'stored procedure' option due to:
1.) it required that i import that s proc defn beforehand
2.) when i tried to do that i could locate the s procedure but while importing it asked to enter arguments and i did taht then the query it generated was out of this world.
thanks,
Madhav
I have successfully called a DB2 stored procedure using a ODBC stage using 'user defined SQL query' option and writing:
call procedurename(argument list);
in the 'enter sql' tab
but was unsuccessful using 'stored procedure' option due to:
1.) it required that i import that s proc defn beforehand
2.) when i tried to do that i could locate the s procedure but while importing it asked to enter arguments and i did taht then the query it generated was out of this world.
thanks,
Madhav