I am performing SQL updates/inserts to an
Oracle database on the I/O server. The inserts are triggered by
defined events (there are three) on the I/O server. Each of the
events calls the same Cicode function with different parameters. I
am assuming that each event will cause a new thread to be spawned
for this function.
The function performs correctly 99% of the time. When it fails,
the error status returned from SQLExec is 274, but the individual
query strings I link together (using SQLAppend) do form a legal SQL
statement (I have actually cut and pasted from my error log file to
Oracle's SQL Worksheet and executed the statement
successfully).
My question is: is the 'SQL buffer' referred to in the SQLAppend
help topic a shared resource? And if it is, should it be? I really
cannot come up with a better way to explain why I would get a 274
error message on the SQLExec function call.
|