If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Lareg no. of inserts ( > 195 rows) using jdbc type 4 driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-04, 08:55
Dipanjan Dipanjan is offline
Registered User
 
Join Date: Sep 2003
Posts: 84
Lareg no. of inserts ( > 195 rows) using jdbc type 4 driver

Is anyone out there doing quite a few inserts ( > 195) using the jdbc type 4 driver in UDB V8.1 on AIX?
We are getting the error 'NULLID.SYSSH203 - package not found' which seems to be due to the following - DB2 uses PREDEFINED packages SYSSH200-SYSSH202 ( each of which contains 65 sections ) and this inserts upto 65 *3 = 195 rows. But the next iteration of the package ( viz. SYSSH203 ) is not present and hence it fails.

Obvioulsy one solution is to close the connection after every 195th row is processed but this does not sound very elegant.

Can anyone out there tell me how you are doing mass inserts using this type 4 jdbc driver ?
Reply With Quote
  #2 (permalink)  
Old 03-02-04, 14:59
chuzhoi chuzhoi is offline
Registered User
 
Join Date: Dec 2002
Posts: 134
Re: Lareg no. of inserts ( > 195 rows) using jdbc type 4 driver

We are using jdbc type 4 driver for inserting high amount of records (>10k). I think our envoroment is similar to yours - aix 5.1 32-bit 8.1 fixpack 3.

I've read somewhere people were recommending db2jdbcbind (search comp.databases.ibm-db2 on google)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On