Informix Error -521
-521 Cannot lock system catalog table-name.
You cannot lock any of the tables that comprise the system catalog. All users need them at all times. The database server handles concurrent access to them correctly, so simply remove this statement from your program.