Hello this is the explanation of the 404 error:
informix - /usr/informix>finderr 404
-404 The cursor or statement is not available.
You probably used a statement that names a cursor that was released with the
FREE statement. Review the program logic and check that the cursor specified
is declared and opened, but not freed, prior to reaching this statement.
If the error occurred on a command that specifies a variable rather than a
cursor, the statement was not prepared before you tried to execute it.
This error can also occur if the cursor or statement is not available
because the connection to the server does not exist or was lost.
-404 A NULL control block has been passed as an argument.
Review the way the program constructs the sqlda and related data
structures; somehow it is setting up a null pointer. If the program is
in IBM Informix 4GL or another language in which the sqlda is not
constructed directly by the program, or if this statement only refers
to host variables by name, this error should not occur. Contact Technical Suppor
t at
tsmail@us.ibm.com.
Only Version 4.1 and earlier database servers return this error code
with the meaning shown.
Maybe it helps a bit to know what client development tool you use... and what type of connection - ODBC, JDBC, OLEDB, NATIVE?