473,396 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

about SQL0911 reason code 68

Jag
can anyone tell me what is SQL0911 reason code 68

thanks jag
Nov 12 '05 #1
10 36594
Ian
Jag wrote:
can anyone tell me what is SQL0911 reason code 68


This is a lock timeout:

----------------------------------------------------------------
$ db2 "? sql0911n"

SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

72 transaction rolled back due to an error concerning a DB2 Data
Links Manager involved in the transaction.

Note: The changes associated with the unit of work must be
entered again.

The application is rolled back to the previous COMMIT.

User Response:

To help avoid deadlock or lock timeout, issue frequent COMMIT
operations, if possible, for a long-running application, or for
an application likely to encounter a deadlock.

Federated system users: the deadlock can occur at the federated
server or at the data source. There is no mechanism to detect
deadlocks that span data sources and potentially the federated
system. It is possible to identify the data source failing the
request (refer to the problem determination guide to determine
which data source is failing to process the SQL statement).

Deadlocks are often normal or expected while processing certain
combinations of SQL statements. It is recommended that you
design applications to avoid deadlocks to the extent possible.

sqlcode : -911

sqlstate : 40001

----------------------------------------------------------------
You can avoid this by setting an appropriate value for the
LOCKTIMEOUT database config param, and making sure that your
apps commit (to release locks).

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2
Ian
Jag wrote:
can anyone tell me what is SQL0911 reason code 68


This is a lock timeout:

----------------------------------------------------------------
$ db2 "? sql0911n"

SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

72 transaction rolled back due to an error concerning a DB2 Data
Links Manager involved in the transaction.

Note: The changes associated with the unit of work must be
entered again.

The application is rolled back to the previous COMMIT.

User Response:

To help avoid deadlock or lock timeout, issue frequent COMMIT
operations, if possible, for a long-running application, or for
an application likely to encounter a deadlock.

Federated system users: the deadlock can occur at the federated
server or at the data source. There is no mechanism to detect
deadlocks that span data sources and potentially the federated
system. It is possible to identify the data source failing the
request (refer to the problem determination guide to determine
which data source is failing to process the SQL statement).

Deadlocks are often normal or expected while processing certain
combinations of SQL statements. It is recommended that you
design applications to avoid deadlocks to the extent possible.

sqlcode : -911

sqlstate : 40001

----------------------------------------------------------------
You can avoid this by setting an appropriate value for the
LOCKTIMEOUT database config param, and making sure that your
apps commit (to release locks).

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #3
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

....

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag


Nov 12 '05 #4
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

....

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag


Nov 12 '05 #5
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message news:<c6**********@hanover.torolab.ibm.com>...
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

...

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag

Nov 12 '05 #6
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message news:<c6**********@hanover.torolab.ibm.com>...
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

...

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag

Nov 12 '05 #7
Heck, no need to download -- just bookmark this site:
http://publib.boulder.ibm.com/infoce...help/index.jsp

--
Matt Emmerton

"Bruce M" <bw********@yahoo.com> wrote in message
news:18**************************@posting.google.c om...
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message

news:<c6**********@hanover.torolab.ibm.com>...
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

...

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag

Nov 12 '05 #8
Heck, no need to download -- just bookmark this site:
http://publib.boulder.ibm.com/infoce...help/index.jsp

--
Matt Emmerton

"Bruce M" <bw********@yahoo.com> wrote in message
news:18**************************@posting.google.c om...
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message

news:<c6**********@hanover.torolab.ibm.com>...
SQL0911N The current transaction has been rolled back because of
a deadlock or timeout. Reason code "<reason-code>".

Explanation:

The current unit of work was involved in an unresolved contention
for use of an object and had to be rolled back.

The reason codes are as follows:
2 transaction rolled back due to deadlock.

68 transaction rolled back due to lock timeout.

...

Jag wrote:
can anyone tell me what is SQL0911 reason code 68

thanks jag

Nov 12 '05 #9
Matt Emmerton wrote:
Heck, no need to download -- just bookmark this site:
http://publib.boulder.ibm.com/infoce...help/index.jsp

--
Matt Emmerton

"Bruce M" <bw********@yahoo.com> wrote in message
news:18**************************@posting.google.c om...
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message

news:<c6**********@hanover.torolab.ibm.com>...
> SQL0911N The current transaction has been rolled back because of
> a deadlock or timeout. Reason code "<reason-code>".
>
> Explanation:
>
> The current unit of work was involved in an unresolved contention
> for use of an object and had to be rolled back.
>
> The reason codes are as follows:
>
>
> 2 transaction rolled back due to deadlock.
>
> 68 transaction rolled back due to lock timeout.
>
> ...
>
> Jag wrote:
>
> > can anyone tell me what is SQL0911 reason code 68
> >
> > thanks jag
> >
> >

And in this case not even that is needed -

db2 "? SQL0911N"

will give you the answer.

Phil
Nov 12 '05 #10
Matt Emmerton wrote:
Heck, no need to download -- just bookmark this site:
http://publib.boulder.ibm.com/infoce...help/index.jsp

--
Matt Emmerton

"Bruce M" <bw********@yahoo.com> wrote in message
news:18**************************@posting.google.c om...
Jag, I seriously suggest that you get the manuals downloaded so you
can look these things up yourself.

-B

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message

news:<c6**********@hanover.torolab.ibm.com>...
> SQL0911N The current transaction has been rolled back because of
> a deadlock or timeout. Reason code "<reason-code>".
>
> Explanation:
>
> The current unit of work was involved in an unresolved contention
> for use of an object and had to be rolled back.
>
> The reason codes are as follows:
>
>
> 2 transaction rolled back due to deadlock.
>
> 68 transaction rolled back due to lock timeout.
>
> ...
>
> Jag wrote:
>
> > can anyone tell me what is SQL0911 reason code 68
> >
> > thanks jag
> >
> >

And in this case not even that is needed -

db2 "? SQL0911N"

will give you the answer.

Phil
Nov 12 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
0
by: Jag | last post by:
can anyone tell me what is SQL0911 reason code 68 thanks jag
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
3
by: Schizoid Man | last post by:
Hi, I'm a novice whose just about migrating to C++ after cutting my teeth on C for a few years. To start with I'm using Microsoft's out-of-the-box Visual C++ Express Edition compiler and I...
16
by: parag_paul | last post by:
if ((type == vhpiCompInstStmtK) || (type == vhpiRootInstK)) if (reason) *reason = "Object is a scope"; else if (reason) *reason = "object is not writable"; Here the else will be treated as...
5
by: andrejf | last post by:
Occasionally, regular online backup fails with sql0911 reason 68, "lock-timeout" seconds after the command is issued. Normally a second try is successfull. The database is always in use. Can...
23
by: Tony Johansson | last post by:
Hello! I just wonder what is the point of having the reader variable declared as TextReader in the snippet below.. Is it because of using the polymorfism on the reader variable perhaps. using...
7
by: Carlo Milanesi | last post by:
Hello, I just completed writing an online book about developing efficient software using the C++ language. You can find it here: http://en.wikibooks.org/wiki/Optimizing_C%2B%2B It is a wiki, that...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.