473,545 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL3508N Error in accessing a file or path of type "TEMP_FILE" during load

Environment:

$ uname -a
AIX <withheld2 5 000100614C00

$ db2level
DB21085I Instance "<withheld> " uses "32" bits and DB2 code release
"SQL08024"
with level identifier "03050106".
Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
FixPak
"11".
Product is installed at "/usr/opt/db2_08_01".

Failing SQL synopsis:

DECLARE xyz CURSOR FOR SELECT <withheld>
;

....
DB20000I The SQL command completed successfully.
LOAD FROM xyz OF CURSOR MESSAGES /path/to/message/dir/xyz.log
TEMPFILES PATH /path/to/temp/dir
REPLACE INTO <schema>.<table >
STATISTICS YES AND DETAILED INDEXES ALL
;

Agent Type Node SQL Code Result
_______________ _______________ _______________ _______________ _______________ ___
LOAD 001 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 002 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 003 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 004 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 005 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 006 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 007 +00000000 Success.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 008 +00000000 Success.
....
LOAD 028 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 029 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 030 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
RESULTS: 2 of 30 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

SQL3508N Error in accessing a file or path of type "TEMP_FILE" during
load or
load query. Reason code: "1". Path:
"/path/to/temp/dir/DB20049A.PID/DB200003.OID/load0024".

There is approximately 172 gig left on drive. This is a new directory,
so persistent historical data is not the problem. This is only
happening
on our development box - there is no problem in the production or user
acceptance
test environments.

The problem is intermittent. Sometimes you can just resubmit the job
and it works. Right now, it's just not working.

TIA for any help or advice.

Dan Mercer

Jan 18 '07 #1
2 14079
Can be different reasons
1) check ulimit -a on your dev box to see if there is a limit on file
size
2) check the chmod values for the directory you are writing the load
file to..
maybe the user you are loading the data as does not have appropriate
privileges to write to the directory.

*************** *************** *************** *************** *************** *************** *********
contractsup wrote:
Environment:

$ uname -a
AIX <withheld2 5 000100614C00

$ db2level
DB21085I Instance "<withheld> " uses "32" bits and DB2 code release
"SQL08024"
with level identifier "03050106".
Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
FixPak
"11".
Product is installed at "/usr/opt/db2_08_01".

Failing SQL synopsis:

DECLARE xyz CURSOR FOR SELECT <withheld>
;

...
DB20000I The SQL command completed successfully.
LOAD FROM xyz OF CURSOR MESSAGES /path/to/message/dir/xyz.log
TEMPFILES PATH /path/to/temp/dir
REPLACE INTO <schema>.<table >
STATISTICS YES AND DETAILED INDEXES ALL
;

Agent Type Node SQL Code Result
_______________ _______________ _______________ _______________ _______________ ___
LOAD 001 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 002 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 003 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 004 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 005 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 006 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 007 +00000000 Success.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 008 +00000000 Success.
...
LOAD 028 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 029 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 030 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
RESULTS: 2 of 30 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

SQL3508N Error in accessing a file or path of type "TEMP_FILE" during
load or
load query. Reason code: "1". Path:
"/path/to/temp/dir/DB20049A.PID/DB200003.OID/load0024".

There is approximately 172 gig left on drive. This is a new directory,
so persistent historical data is not the problem. This is only
happening
on our development box - there is no problem in the production or user
acceptance
test environments.

The problem is intermittent. Sometimes you can just resubmit the job
and it works. Right now, it's just not working.

TIA for any help or advice.

Dan Mercer
Jan 22 '07 #2
*************** *************** *************** *************** *************** *************** *********
contractsup wrote:
Environment:

$ uname -a
AIX <withheld2 5 000100614C00

$ db2level
DB21085I Instance "<withheld> " uses "32" bits and DB2 code release
"SQL08024"
with level identifier "03050106".
Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
FixPak
"11".
Product is installed at "/usr/opt/db2_08_01".

Failing SQL synopsis:

DECLARE xyz CURSOR FOR SELECT <withheld>
;

...
DB20000I The SQL command completed successfully.
LOAD FROM xyz OF CURSOR MESSAGES /path/to/message/dir/xyz.log
TEMPFILES PATH /path/to/temp/dir
REPLACE INTO <schema>.<table >
STATISTICS YES AND DETAILED INDEXES ALL
;

Agent Type Node SQL Code Result
_______________ _______________ _______________ _______________ _______________ ___
LOAD 001 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 002 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 003 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 004 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 005 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 006 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 007 +00000000 Success.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 008 +00000000 Success.
...
LOAD 028 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 029 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
LOAD 030 -00003508 Init error. Table unchanged.
_______________ _______________ _______________ _______________ _______________ ___
RESULTS: 2 of 30 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

SQL3508N Error in accessing a file or path of type "TEMP_FILE" during
load or
load query. Reason code: "1". Path:
"/path/to/temp/dir/DB20049A.PID/DB200003.OID/load0024".

There is approximately 172 gig left on drive. This is a new directory,
so persistent historical data is not the problem. This is only
happening
on our development box - there is no problem in the production or user
acceptance
test environments.

The problem is intermittent. Sometimes you can just resubmit the job
and it works. Right now, it's just not working.

TIA for any help or advice.

Dan Mercer
Asphalt Blazer wrote:
Can be different reasons
1) check ulimit -a on your dev box to see if there is a limit on file
size
ulimit -a
....
file(blocks) unlimited
....

2) check the chmod values for the directory you are writing the load
file to..
maybe the user you are loading the data as does not have appropriate
privileges to write to the directory.
I created a brand new parent directory with permissions 777 - no luck.

However, we have had a similar problem with the MSGFILES keyword. In
both
cases, the error messages have contained truncated path names. The
major
difference between the production, uat and dev environments is the
path length
of the locations where we keep logs and tempfiles. To get around this
we
have symbolically linked our log dir and tempfile dir into /tmp which
seems
to obviate the problem.

Dan Mercer

Jan 22 '07 #3

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

Similar topics

7
4705
by: Vivek | last post by:
Hi, I want to know if it is possible to load(using the db2load API) into a remote database. By remote database i mean one that i have cataloged. Any parameters that need to be changed ? TIA
4
13732
slapshock
by: slapshock | last post by:
gud morning!!!!!!!! i have a problem on how to upload photo and save it in the database.... i am not so familiar in visual basic on how to code..... can you help me with this problem?? i want the codes that can the uploading and saving photos in visual basics....
4
2931
by: liberty1 | last post by:
Hi everyone. I appreciate your effort at helping newbies like me. I have the following problems and will appreciate urgent help. PROBLEM NUMBER 1: Using PHP and MySQL, I am able to upload picture successfully unto the server but not so with the file name of the picture even though other parameters in my form got inserted successfuly in the...
0
7479
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...
0
7411
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...
0
7669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
5987
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...
1
5343
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...
0
4962
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3468
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
722
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...

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.