By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,617 Members | 1,751 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,617 IT Pros & Developers. It's quick & easy.

SQL error 805

P: n/a
we had this error while running the applicaiton on db2 v8.2 EE on
windows, jcc driver is what we use

SQL error 805

com.ibm.db2.jcc.b.SQLException: NULLID.SYSLH203 0X5359534C564C3031,
based on my experience, there is no such package exist, so what would
be the main resaon behind this? thank you

Nov 6 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
More info,

the query inside the loop are just simple select and insert statement
with java class.

Nov 6 '06 #2

P: n/a
db2group88 wrote:
More info,

the query inside the loop are just simple select and insert statement
with java class.
This question has been answered many times. Try Google Groups archive
and search on 'NULLID.SYSLH203'

Nov 6 '06 #3

P: n/a
the MAXAPPLS is 500 and APPLHEAPSZ is 12000, i have make sure statement
close properly. what else?

Nov 6 '06 #4

P: n/a
More info, i have done this java -cp "D:\program
files\ibm\sqllib\java\db2jcc.jar" com.ibm.db2.jcc.DB2Binder -url
jdbc:db2://test -size 80 and this db2 bind @db2cli.lst blocking all
grant public sqlerror continue CLIPKG 5

Nov 6 '06 #5

P: n/a
db2group88 wrote:
the MAXAPPLS is 500 and APPLHEAPSZ is 12000, i have make sure statement
close properly. what else?
What exactly does "close properly" mean? Do you do an explicit commit?

Nov 6 '06 #6

P: n/a
db2group88 wrote:
we had this error while running the applicaiton on db2 v8.2 EE on
windows, jcc driver is what we use

SQL error 805

com.ibm.db2.jcc.b.SQLException: NULLID.SYSLH203 0X5359534C564C3031,
based on my experience, there is no such package exist, so what would
be the main resaon behind this? thank you
Hi!

When I get this I do:
db2jdbcbind.exe -url jdbc:db2://SERVER:50000/DATABASE_NAME -user
DATABASE_USER -password DATABASE_PASSWORD -size 300

Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Nov 7 '06 #7

P: n/a
db2group88 wrote:
we had this error while running the applicaiton on db2 v8.2 EE on
windows, jcc driver is what we use

SQL error 805

com.ibm.db2.jcc.b.SQLException: NULLID.SYSLH203 0X5359534C564C3031,
based on my experience, there is no such package exist, so what would
be the main resaon behind this? thank you
The main reason is that you do _not_ properly close your statement handles
in your application. Each statement handle is associated with a package,
and since you don't close them, you run out of packages eventually. You
can delay the problem by creating more CLI packages - maybe the delay is
sufficient that you won't hit the problem anymore - but that's not a fix.

A good description on CLI packages can be found here:
http://www.ibm.com/developerworks/db...hun/index.html

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Nov 7 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.