Unix Technical Forum

DB2 SQL error: SQLCODE: -805, NULLID.SYSLH20A 0X5359534C564C3031

This is a discussion on DB2 SQL error: SQLCODE: -805, NULLID.SYSLH20A 0X5359534C564C3031 within the DB2 forums, part of the Database Server Software category; --> Hi, we are using db2 v8.2 on windows. Have a error while run the application, DB2 SQL error: SQLCODE: ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:28 AM
db2group88
 
Posts: n/a
Default DB2 SQL error: SQLCODE: -805, NULLID.SYSLH20A 0X5359534C564C3031

Hi,

we are using db2 v8.2 on windows. Have a error while run the
application,

DB2 SQL error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC:
NULLID.SYSLH20A 0X5359534C564C3031

normally i saw the error for package SYSLH203 , but never know what is
for SYSLH20A,

can someone tell me what could it be? tks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 06:28 AM
Shashi Mannepalli
 
Posts: n/a
Default Re: DB2 SQL error: SQLCODE: -805, NULLID.SYSLH20A 0X5359534C564C3031

This is from DB2 Manual

Depending on the type of statement you are executing, DB2 will use a
particular package on the server. By default DB2 creates three packages
for each type of package. In this case NULLID.SYSLH2yy is reserved for
statements with CURSORHOLD on and isolation level Cursor Stability. You
can create more packages on the server by connecting to the database
and issuing the following bind command from the /sqllib/bnd directory:

db2 bind @db2cli.lst blocking all grant public sqlerror continue CLIPKG
5
Note: CLIPKG 5 will create 5 large packages, and will give you the
package that your application is looking for, as well as one more in
this case.

You can go all the way upto CLIPKG 30

cheers...
Shashi Mannepalli

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 06:31 AM
Gregor =?ISO-8859-2?Q?Kova=E8?=
 
Posts: n/a
Default Re: DB2 SQL error: SQLCODE: -805, NULLID.SYSLH20A 0X5359534C564C3031

Shashi Mannepalli wrote:

> This is from DB2 Manual
>
> Depending on the type of statement you are executing, DB2 will use a
> particular package on the server. By default DB2 creates three packages
> for each type of package. In this case NULLID.SYSLH2yy is reserved for
> statements with CURSORHOLD on and isolation level Cursor Stability. You
> can create more packages on the server by connecting to the database
> and issuing the following bind command from the /sqllib/bnd directory:
>
> db2 bind @db2cli.lst blocking all grant public sqlerror continue CLIPKG
> 5
> Note: CLIPKG 5 will create 5 large packages, and will give you the
> package that your application is looking for, as well as one more in
> this case.
>
> You can go all the way upto CLIPKG 30
>
> cheers...
> Shashi Mannepalli

You can also use:
db2jdbcbind.exe -url jdbc:db2://SERVER/DATABASE -user DB_USER -password
DB_PASSWORD -size 300
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
| Gregor Kovac | Gregor.Kovac@mikropis.si |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com