TIBCSricpt and exeptions
Posted: Fri 20 Aug 2010 11:51
Hi
i update client database using a script. Everything perfect
, but i observed a curious behavior when an error occurs into the script.
i include the execute statement into an exception :
in order to track these errors. however when an error occurs (and so an exception), the process avoid the exception block that seems to be curious !
is it normal ?
regards
olivier
i update client database using a script. Everything perfect

i include the execute statement into an exception :
Code: Select all
TRY
Chaine := fData.GestBag_Script.Statements[k].SQL;
fData.GestBag_Script.Statements[k].Execute;
EXCEPT
IF Log THEN fDivers.Logger.Add('Donnee -D30- : ' + chaine +
fData.GestBag_Script.Statements[k].SQL);
END; // Fin de EXCEPT
is it normal ?
regards
olivier