Skip to main content

developerWorks >  Information Management  >  Forums  >  DB2 pureXML  >  developerWorks

db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 4 - Pages: 1 - Last Post: Oct 15, 2009 10:43 AM Last Post By: suz@cra Threads: [ Previous | Next ]
suz@cra

Posts: 2
Registered: Feb 15, 2007 09:00:23 AM
db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907
Posted: Oct 09, 2009 04:54:06 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi,
When inserting a large String document into xml column on db2 z/os, we receive the following error when the size is 1,075,573 bytes:

com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -904, SQLSTATE: 57011, SQLERRMC: 00C900D1;00000907

The data & column are stored, but we receive this error. We can retrieve the row fine also.
The settings for these variables are:
XMLVALA=2097152 XMLVALS=2048

Not sure whether it is a jcc driver or xml issue?
thanks for any info.
Bryan_P

Posts: 9
Registered: Jun 21, 2006 06:36:30 PM
Re: db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907
Posted: Oct 12, 2009 12:32:43 PM   in response to: suz@cra in response to: suz@cra's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi. The error message is indicating that a resource is unavailable. It is strange that the insert appears to have succeeded. The message should also indicate the resource-name and resource-type that was not available at execution time. It might also help if you indicate what environment the insert was running when you go this message. In the meantime I'll ask a DB2 z expert for insight.
Bryan_P

Posts: 9
Registered: Jun 21, 2006 06:36:30 PM
Re: db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907
Posted: Oct 12, 2009 01:21:45 PM   in response to: suz@cra in response to: suz@cra's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi, after some further research and discussion, the problem you hit seems to be related to the LOB values, specifically LOBVALA.

00C900D1 indicates that the amount of space allowed for processing LOB values by a user has been exceeded.

http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.codes/00c900d1.htm?resultof=%22%30%30%43%39%30%30%44%31%22%20%22%30%30%63%39%30%30%64%31%22%20

Why? LOB manager is re-used in DB2 for bringing XML data into DB2 from an application and vice versa. LOBVALA and LOBVALS put limits on the XML string size. You need to set LOBVALA to at least the maximum document length you will input and output.
Bryan_P

Posts: 9
Registered: Jun 21, 2006 06:36:30 PM
Re: db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907
Posted: Oct 12, 2009 01:22:01 PM   in response to: suz@cra in response to: suz@cra's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi, after some further research and discussion, the problem you hit seems to be related to the LOB values, specifically LOBVALA.

00C900D1 indicates that the amount of space allowed for processing LOB values by a user has been exceeded.

http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.codes/00c900d1.htm?resultof=%22%30%30%43%39%30%30%44%31%22%20%22%30%30%63%39%30%30%64%31%22%20

Why? LOB manager is re-used in DB2 for bringing XML data into DB2 from an application and vice versa. LOBVALA and LOBVALS put limits on the XML string size. You need to set LOBVALA to at least the maximum document length you will input and output.
suz@cra

Posts: 2
Registered: Feb 15, 2007 09:00:23 AM
Re: db2 z/os insert xml jcc -904 sqlstat: 57011 SQLERRMC: 00C900D1;00000907
Posted: Oct 15, 2009 10:43:48 AM   in response to: Bryan_P in response to: Bryan_P's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi,
I checked the values set for the following parms on our subsystem:
Currently, LOBVALA and LOBVALS are set to 2048kB and 2048MB respectively.
This is probably the problem. It will take a bit more time to have our support area to increase the value to what we need.
Thank you for pointing us to the parms required to change. I will post later whether this resolves our problem.
Again thanks for the prompt response.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums