The -998 error means you have hit a license evaluation limit (this is probably the execution of 1500 SQL statements). Check that you have installed the relevant Querix license for the database that you are working with.
If you have a license properly installed, but still get error -998 at runtime, you need to recompile your application once again. The reason for it is that your application might have been compiled before the license installation and in order to use it, you need to recompile it after the license installation has been performed.
Note: clean your application before recompilation. The compiled previously binary and object files should be deleted. The reason is that the performed modifications might have not been detected during the compilation of the application, therefore the re-compilation would not be successful.