Page 1 of 1

ORA 01002 with ODBC Connector stage

Posted: Wed Nov 24, 2010 11:16 pm
by dineshrk
The job is aborting when i am extracting the records from the Oracle database The error description is
"ODBC read source,0:ODBC function "SQLFetch" reported: SQLState=HY000: Native error code=1,002: Msg=[IBM(DataDirect OEM)][ODBC "Oracle wire protocol driver][Oracle]ORA-01002: fetch out of sequence

I am using the following options
Record Count:2000
ArrySize:2000
Isolation Level: Read Uncommited

Can any one please help :(

Posted: Thu Nov 25, 2010 12:26 am
by ray.wurlod
This is happening in your Oracle database, not in DataStage. Pull out the query you are using and talk with your Oracle DBA about why it might be generating this error.

Posted: Thu Nov 25, 2010 7:48 am
by chulett
What does your SQL look like? Is the stage generating it or did you supply it?