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 > -805 at COMMIT

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-07, 11:49
ORSIPMP ORSIPMP is offline
Registered User
 
Join Date: Oct 2005
Posts: 12
Question -805 at COMMIT

I'm running DB2 V8 on zOS in a batch environment. After inserting a few rows I get an -805 when I try to COMMIT. My monitor tells me that the program involved is the one I expect but without the first letter (!!!!). The consistency token not found is greater than expected (not even a package just bound would have such a large contoken). TIA.
Reply With Quote
  #2 (permalink)  
Old 12-12-07, 23:01
dev-archive dev-archive is offline
Registered User
 
Join Date: Dec 2007
Posts: 4
anyone can help him???
hehe!
Reply With Quote
  #3 (permalink)  
Old 12-13-07, 04:16
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Yes, why not. But how about some details on the scenario like:
- which DB2 version is running
- which SQL statements are running in the transaction
- how exactly are those statements executed
- what's the exact output?
- how exactly was the package bound?
Basically everything that would help others to understand the situation beyond the current "something doesn't work" state.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 12-13-07, 06:25
dev-archive dev-archive is offline
Registered User
 
Join Date: Dec 2007
Posts: 4
stolze is The good guys,thks lots.hehe!
Reply With Quote
  #5 (permalink)  
Old 12-13-07, 09:53
jsharon1248 jsharon1248 is offline
Registered User
 
Join Date: Apr 2007
Location: Chicago
Posts: 57
The description of the problem doesn't make complete sense. DB2 will return a -805 following an attempt to execute the first SQL statement. You should be getting the -805 on the first INSERT, not on the COMMIT following the INSERTs. I suppose it's possible that the error messaging isn't working quite right or the COMMIT might be the first SQL attempted.

There aren't all that many root causes for a -805. The most common is probably not running a bind after a compile and link edit. Your bind might be referencing the wrong DBRMLIB. You could be referencing the wrong STEPLIB/JOBLIB. You could be referencing the wrong plan. Your plan might not include the package in the PKLIST. You didn't mention if the run unit is 1 program or several programs. If several, you might be calling a module that isn't listed in the PKLIST.
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