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 > loading data with cli program (db2 v8.1)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 11:15
MelD MelD is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Question loading data with cli program (db2 v8.1)

Hi,
I've got a C-Programm which is transforming data. This data (about 60.000.000 entries) is then loaded into a db2 database by using the CLI "Load" function. The programm is sequentiel, no fork() is called anywhere. (I buffer 40.000 values before starting load).

For small numbers (about 100.000 entries) everything works fine. But when I try to load the total amount of data, my programm exists with:

SQL2044N An error occurred while accessing a message queue. Reason code: "1”

and afterwards:

SQL2044N An error occurred while accessing a message queue. Reason code: "3”

Why is db2 using so many message queues? (I've already increased the max. number of message queues.)

My understanding in programming is:when i call a subroutine, my mainprogram is waiting until the subroutine finished. So "load" should be finished when i start to load a new block of data, and the number of used message queues should be quite constant.

My system is: db2 v8.1, suse linux 8.2

Any hint is appreciated

cu, Melanie
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