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 > insert failure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-25-04, 09:02
eduardob eduardob is offline
Registered User
 
Join Date: Apr 2004
Posts: 10
insert failure

we got the following problem:
during the execution of an applicative, for ex: a modification .......

an insert failure is produced, this insert failure is produced on one specific table, we have already increase the extent of this table but the problem still contineous.

how can we determine the causes of this failure to insert on a table.
Reply With Quote
  #2 (permalink)  
Old 06-25-04, 10:06
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Please test the ISAM error. What is the error.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 06-25-04, 11:02
eduardob eduardob is offline
Registered User
 
Join Date: Apr 2004
Posts: 10
Gustavo, the engine doesnīt give any isam error
it looks like if the application to insert is erased, but indeed it doesnīt erase
the reality would be it is not inserted
Reply With Quote
  #4 (permalink)  
Old 06-25-04, 11:08
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Eduardob

Please, can you send me the SQL insert.

Gustavo
Reply With Quote
  #5 (permalink)  
Old 06-25-04, 11:31
eduardob eduardob is offline
Registered User
 
Join Date: Apr 2004
Posts: 10
let m_status = 0

FOR m_ix = 1 to 54
if ga_ddeterm[m_ix].coddet is null then
continue for
end if
if ga_ddeterm_pe[m_ix].coddet is null then
continue for
end if

let gr_detcer.codlab = gr_ccertifi.codlab
let gr_detcer.numero = gr_ccertifi.numero
let gr_detcer.anio = gr_ccertifi.anio
let gr_detcer.coddel = gr_ccertifi.coddel
let gr_detcer.deljurinsc = g_deljurinsc
let gr_detcer.nrocer = gr_ccertifi.nrocer
let gr_detcer.coddet = ga_ddeterm[m_ix].coddet
let gr_detcer.valobt = ga_ddeterm[m_ix].valobt
let gr_detcer.feccer = g_fechahora
let gr_detcer.senabm = g_senabm
let gr_detcer.fecgra = g_fecha
let gr_detcer.usrnom = g_usrnom
let gr_detcer.senenv = " "
let gr_detcer.orden = m_ix

SET LOCK MODE TO WAIT
insert into lb_detcer
values (gr_detcer.*)

if status != 0 then
let m_status = status
exit for
go to f_tratam_galta01_analisis
end if
END FOR

Gustavo here I send you the SQL insert, itīs a common sentence
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