ODBC driver does not support retrieving execution status

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

ODBC driver does not support retrieving execution status

Post by Aquilis »

Hi,

Hit with below error, as it's working in all environments except production environment.

we are using ODBC connector to connect to SQL Server.
In all environments the array size and record count is - 2000 (default).

Code: Select all

odbc_lccyp,0: This driver does not support retrieving execution status for each row of a batch insert, which is a requirement to set array size greater than 1 for this operation. Please reset array size to 1
can any one point me to the issue.
Aquilis
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Which ODBC driver are you using?

One reason might be that you have the "bulk insert mode" enabled in your Windows ODBC driver definition for this data source. Try changing that setting, or using just updates in your SQL with no inserts to see if the error message remains the same.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, it would seem you have different ODBC drivers in production or they are configured differently.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

Post by Aquilis »

Compared the Driver versions and ODBC DSN connections, all seems similar.
Anyway we raised a PMR for this IBM. awaiting response.

Didn't able to locate - bulk insert mode" enabled in Windows ODBC driver.
Meanwhile where can we verify it ? Could you suggest or point me there, please?
Aquilis
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Open up your 32-bit ODBC driver window, select your ODBC driver that you are using. Is it the IBM Native SQL-Server wire driver? If yes, then navigate to the "Bulk" tab and is the "Enable Bulk Load" switch active?
Post Reply