473,320 Members | 2,107 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,320 software developers and data experts.

Can not run DB2LOAD in parallel

Greetings,

We need to initial load hundreds of tables from within programs. We try
to run several programs that call the DB2LOAD in parallel (to load
different tables of course) in order to speed up the process.

However, the program that completes the DB2LOAD first appears to cancel
the subsequent DB2LOAD by other programs. No obvious error found in
db2diag.log.

Has anyone come across this?

Thanks!

Nov 12 '05 #1
3 1646
You can run parrellel loads as long as each of them adresses a different
tablespace.
Also, you must use the TEMPFILES parm. in the load command to point to a
separate temporary files directory for each load that runs in parellel.
You must be at V7.2 or up.
HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ne*****@hotmail.com> a écrit dans le message de news:
11*********************@g47g2000cwa.googlegroups.c om...
Greetings,

We need to initial load hundreds of tables from within programs. We try
to run several programs that call the DB2LOAD in parallel (to load
different tables of course) in order to speed up the process.

However, the program that completes the DB2LOAD first appears to cancel
the subsequent DB2LOAD by other programs. No obvious error found in
db2diag.log.

Has anyone come across this?

Thanks!


Nov 12 '05 #2
ne*****@hotmail.com wrote:
Greetings,

We need to initial load hundreds of tables from within programs. We try
to run several programs that call the DB2LOAD in parallel (to load
different tables of course) in order to speed up the process.

However, the program that completes the DB2LOAD first appears to cancel
the subsequent DB2LOAD by other programs. No obvious error found in
db2diag.log.

Has anyone come across this?

Thanks!


What is the sqlcode returned by the failed loads? You might need to
check the message file to find it. Assuming you're on Version 8 of DB2
UDB for L/U/W, make sure you're not specifying the FORCE option with
your load commands.

Regards,
Miro

Nov 12 '05 #3
Thanks Pierre and Miro, I'll give it a shot!

Nov 12 '05 #4

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

Similar topics

1
by: UDBDBA | last post by:
Hi: How can one call SYSPROC.DB2LOAD procedure within a SQL stored procedure. I get the following error: DB21034E The command was processed as an SQL statement because it was not a valid...
11
by: lovecreatesbeauty | last post by:
For example, line L1 and line L2 are two lines in two-dimensional space, the start-points and end-points can be described with following the `point_t' type. The start-points and end-points are:...
0
by: Suresh | last post by:
Hi All I am tring to call SYSPROC.DB2LOAD stored procedure from DB2 UDB 8.2. Command editor. i used the follwoing syntax... CALL DB2LOAD (1,NULL,'LOAD CLIENT FROM...
0
by: anils | last post by:
I am trying to implement db2Load in C#, using PInvoke looking at the sample C programe which has Dbconn() & db2Load() methods I could find db2Load in db2app.dll, I could not find Dbconn()...
7
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
2
by: Vivek | last post by:
Hi, Iam using the db2load API to write data to a table. I see that by default the load process creates/overwrites the msgfile. Is there a way to change this behaviour so that messages are...
0
by: Vivek | last post by:
Hi, Ive written a test program for loading data into a table using the db2Load api. It works fine except when i specify COPY = YES USE TSM. Ive set the aforementioned attribute in the api by the...
4
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.