473,756 Members | 6,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

load with "allow read access" gives -911 on UDB v8 FP 5 on AIX

When running LOAD with "ALLOW READ ACCESS", I get the following error
if select is running againt the table (isolation UR).

load.sql
---------
db2 load from /u02/data/dly_d040817_tes t.dat of asc \
modified by implieddecimal nullindchar=Y \
fastparse anyorder \
METHOD L \(01 10,11 12,13 15,16 24,25 28,29 48,49 64\) \
MESSAGES /u02/load/msg/auth_detail.msg \
tempfiles path /u02/load/tmp \
INSERT INTO MYTAB \
nonrecoverable \
data buffer 14400 \
cpu_parallelism 2 \
disk_parallelis m 4 \
allow read access
Agent Type Node SQL Code Result
_______________ _______________ _______________ _______________ _______________ ___
LOAD 003 -00000911 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 004 -00000911 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
RESULTS: 0 of 2 LOADs completed successfully.
_______________ _______________ _______________ _______________ _______________ ___

Summary of LOAD Agents:
Number of rows read = 0
Number of rows skipped = 0
Number of rows loaded = 0
Number of rows rejected = 0
Number of rows deleted = 0
Number of rows committed = 0

SQL0911N The current transaction has been rolled back because of a
deadlock
or timeout. Reason code "68". SQLSTATE=40001

The following message is found in the diag.log
-----------------------------------------------
LOADID: 46164.2004-08-18-22.45.15.301714 .4 (12;4)
CatlogSA: error encountered during InitSA processing. -911, 0,
Detected in file: sqlusCatalogSA. C,lin
e 859
....
....
Reply type of request discarded =
0x2FF1EC1C : 0x00000002 ....

2004-08-18-22.45.46.109422 Instance:xxxx Node:004
PID:46164(db2ag ent (MYDB) 4) TID:1 Appid:*N3.xxxx. 040818224514
database utilities DIAG_ERROR Probe:0 Database:MYDB

LOADID: 46164.2004-08-18-22.45.15.301714 .4 (12;4)
Coord: error encountered during catalog agent processing. -911, 0,
Detected in file: sqlusMPPCoordin ator.C,line 1257
=============== =============== =============== ===

But, if the load is already started the select goes thru fine and the
load waits until the select is over (to obtain the Z lock). Once the
select completes load also completes successfully.

Is the behaviour documented anywhere that the LOAD requires exclusive
access on the table at the start and end of the LOAD?

Thanks,
Prince.
Nov 12 '05 #1
3 4310
gs**@yahoo.com (Prince Kumar) wrote in message news:<62******* *************** ****@posting.go ogle.com>...
When running LOAD with "ALLOW READ ACCESS", I get the following error
if select is running againt the table (isolation UR). <snip>
But, if the load is already started the select goes thru fine and the
load waits until the select is over (to obtain the Z lock). Once the
select completes load also completes successfully.

Is the behaviour documented anywhere that the LOAD requires exclusive
access on the table at the start and end of the LOAD?


'ALLOW READ ACCESS' allows reads during the first phases of the load
operation, but still needs super exclusive access - just for a moment
in the last phase.

I've seen this documented, though can't remember where now. Perhaps
the data movement redbook?

buck
Nov 12 '05 #2
The problem is not in the last phase. As I have mentioned clearly, it
fails with -911 immediatley, if there is a select access againt the
table. But, if the "select" is already in progress, the "load" waits
until the "select" completes. (It seems the load loads the data but
wait for the 'Z' lock to complete in the second case.)

If the load can not proceed, if there is select access againt the
table, I am not sure how useful this parameter is!

Thanks.

bu*********@yah oo.com (Buck Nuggets) wrote in message news:<66******* *************** ****@posting.go ogle.com>...
gs**@yahoo.com (Prince Kumar) wrote in message news:<62******* *************** ****@posting.go ogle.com>...
When running LOAD with "ALLOW READ ACCESS", I get the following error
if select is running againt the table (isolation UR).

<snip>

But, if the load is already started the select goes thru fine and the
load waits until the select is over (to obtain the Z lock). Once the
select completes load also completes successfully.

Is the behaviour documented anywhere that the LOAD requires exclusive
access on the table at the start and end of the LOAD?


'ALLOW READ ACCESS' allows reads during the first phases of the load
operation, but still needs super exclusive access - just for a moment
in the last phase.

I've seen this documented, though can't remember where now. Perhaps
the data movement redbook?

buck

Nov 12 '05 #3
Any updates on this?

Thanks,
Prince.
gs**@yahoo.com (Prince Kumar) wrote in message news:<62******* *************** ****@posting.go ogle.com>...
The problem is not in the last phase. As I have mentioned clearly, it
fails with -911 immediatley, if there is a select access againt the
table. But, if the "select" is already in progress, the "load" waits
until the "select" completes. (It seems the load loads the data but
wait for the 'Z' lock to complete in the second case.)

If the load can not proceed, if there is select access againt the
table, I am not sure how useful this parameter is!

Thanks.

bu*********@yah oo.com (Buck Nuggets) wrote in message news:<66******* *************** ****@posting.go ogle.com>...
gs**@yahoo.com (Prince Kumar) wrote in message news:<62******* *************** ****@posting.go ogle.com>...
When running LOAD with "ALLOW READ ACCESS", I get the following error
if select is running againt the table (isolation UR). <snip>
But, if the load is already started the select goes thru fine and the
load waits until the select is over (to obtain the Z lock). Once the
select completes load also completes successfully.

Is the behaviour documented anywhere that the LOAD requires exclusive
access on the table at the start and end of the LOAD?


'ALLOW READ ACCESS' allows reads during the first phases of the load
operation, but still needs super exclusive access - just for a moment
in the last phase.

I've seen this documented, though can't remember where now. Perhaps
the data movement redbook?

buck

Nov 12 '05 #4

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

Similar topics

2
13435
by: php newbie | last post by:
I am trying to write a cursor to update certain rows in a particular order as follows: (I need the cursor version, not SQL, as the update logic depends on the order of rows and some other conditions. I removed the Order-By clause from the statement to simplify it; it gives the same error message with or without it.) DECLARE prod_cursor CURSOR FORWARD_ONLY KEYSET FOR SELECT 1 FROM all_products WHERE p_qty = 0 FOR UPDATE
2
6118
by: Noozer | last post by:
The following javascript code generates an "Access denied" error at the indicated line. This sample should allow the user to click "Browse" and choose a file. Once the user has selected a file the form is automatically submitted. I'm trying to avoid having seperate browse and submit actions. Can someone explain why I'm getting the error and how I can accomplish this task?
2
1420
by: John Baker | last post by:
Hi: Can someone answer the following questions about "Pages" a. Are they are good way to develop web based access applications? b. Is there a good manual like "Pages for Idiots" which will help in setting up a simple application? Best
0
2138
by: antsays | last post by:
I am trying to serialize a collection to disk using the code provided. This works just fine but when I try do copy and past the xml file to another location or sometimes even just click on the file it gives me the error: The instruction at "0x635e0719" referenced memory at "0x00000000". The momory could not be "read. Could anyone please help out with this
6
4141
by: ASP.Confused | last post by:
I have an ASP.NET page writtein in VB that uses ADODB. I just had to force-install MDAC 2.8 after I tried to rollback to 2.6 (my web host uses this, and I wanted to be compatible with them.) I had to manually install all of the ODBC drivers and the rest of the DLL's, and now I am getting "Access is Denied" errors on any page that uses ADODB. How do I fix it? I already gave the ODBC drivers in the folders in "c:\program files\common...
0
3537
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the original question, the subject line is: ADODB.NET and "Access Denied" I have an ASP.NET page writtein in VB that uses ADODB. I just had to
2
10523
by: mik.sjoblom | last post by:
Hello, I have developed a Access application that needs to read mail from Outlook, versions on Access and outlook are 2003. In the code i use mapi to connect to outlook. When i tries to read the subject of a message outlook displays "A program is trying to access e-mail adresses you have stored in Outlook. Do you want to allow this." And then i can allow access for max 10 minutes. My application is use scheduled statupm creating reports...
1
5142
by: srivatsans101 | last post by:
Hi, I'm trying to access the IFrame contents on a HTML page as frames.document But in IE, I'm getting Access Denied Error Message. I tried to add the IFrame's Src WebSite (a local/intranet hosted dynamic HTML page) to Trusted Sites list in IE Options.
3
12585
by: mohammadazim | last post by:
Hi guys I wrote a socket program in c++ and used blocking system call read () for receiving data on socket. But it gives following error while compilation g++ -Wall -g -I`pwd`/../include -lpthread -c SocketDescriptor.cc -o `pwd`/../lib/SocketDescriptor.o SocketDescriptor.cc: In member function ‘Status SocketDescriptor::Recv(int&, unsigned char*, int&)’: SocketDescriptor.cc:79: error: ‘read’ was not declared in this scope make: *** Error...
6
3351
by: atkellyx | last post by:
Hi I am on Access 2003 on XP. When I set a form to allow edits = false, combo boxes on that form that are not data bound become locked also. I used these for filtering purposes,ie, users can filter the form on a combo click. Is there any way to leave these enabled when allow edits = false? Thanks
0
9462
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9857
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.