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 > Informix > Informix Error Code 349

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-02, 00:33
raman_vv raman_vv is offline
Registered User
 
Join Date: Nov 2002
Posts: 3
Informix Error Code 349

Hi ,
I am getting a problem while loading data. A C++ program reads text file holding more that 1 million records and loads the data into Informix database with simple insert or update statements, one per line of data from text file.

After a certain number of records are inserted or updated the insert or update statements start failing with Informix Error Code 349. This does not happen at the same record everytime. So I guess it has to do something with Informix Configuration.

If anybody has faced this problem and know the answer, please help me.

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-27-02, 04:45
thedafna thedafna is offline
Registered User
 
Join Date: Oct 2002
Posts: 52
can you retrive the records you loaded- until it fails?
My guess is no, because the error is you did not connect to the database.

Dafna
Reply With Quote
  #3 (permalink)  
Old 11-28-02, 06:46
raman_vv raman_vv is offline
Registered User
 
Join Date: Nov 2002
Posts: 3
Quote:
Originally posted by thedafna
can you retrive the records you loaded- until it fails?
My guess is no, because the error is you did not connect to the database.

Dafna
Yes I can retrieve the partially loaded records. Actually the network connection times out giving error code 25582 and after that it gives error code 349 which is understandable because the connection is no more there. But what causes the network connection to time out suddenly while processing is still not resolved.
Reply With Quote
  #4 (permalink)  
Old 11-28-02, 11:09
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
This is verry weird.
349 occurs when your database is not open. Are you sure that the C++ program doesn't close the database?
What are your connection settings? C++ on WinNT? with ODBC?
Or both on Unix?
I might suggest you to look into the HPL (High Performance Loader).
This product is included in your engien software. Is is typically used to load lots of data into and out from the database.
__________________
rws
Reply With Quote
  #5 (permalink)  
Old 12-01-02, 22:40
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
re

I thing so ,
You have to find out your code where does it define database to use
Reply With Quote
  #6 (permalink)  
Old 12-02-02, 02:44
jessie_xuan jessie_xuan is offline
Registered User
 
Join Date: Dec 2002
Location: shanghai
Posts: 1
Red face error code

when i use the ifx_connect(),it has the error code

SQLSTATE=IX 001 SQLCODE=-1829

what is it meating?

thanks!!
Reply With Quote
  #7 (permalink)  
Old 12-02-02, 04:24
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
-1829

__________________________________________________ ________

Cannot open file citoxmsg.pam.

The file citoxmsg.pam is missing from the directory $INFORMIXDIR/msg.
__________________
rws
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