SQL/MX 2.x Messages Manual (H06.04+)

SQL/MX MXCMP Messages (2000 through 2999)
HP NonStop SQL/MX Messages Manual540498-003
4-31
Effect. The operation fails.
Recovery. Review the module name list syntax, especially where an identifier is
expected. Verify that the list of module names is specified correctly. Verify that regular
identifiers used are not SQL reserved words and retry the command.
SQL 2220
Where mxcmp path is the MXCMP environment variable.
Cause. You set your MXCMP environment variable to point to your own MXCMP and
invoked mxCompileUserModule on an application file to SQL compile its module
definitions. Your MXCMP is not executable.
Effect. The operation fails.
Recovery. Verify that your MXCMP exists and is executable and retry the command.
SQL 2221
Where error code is the error message code.
Cause. You invoked mxCompileUserModule on an application file to SQL compile its
module definitions. This command invoked MXCMP, which returned error code,
indicating an abnormal termination.
Effect. The operation fails.
Recovery. If the system is heavily loaded, retry the command later. If the problem
persists under normal system load, report it as an internal error and contact your
service provider.
SQL 2222
Where module name is the requested module name.
Where application file name is the requested application file.
Cause. You invoked mxCompileUserModule on an application file with a list of module
names to SQL compile. This list includes the named module, which cannot be found in
the application file.
2220 mxcmp path (MXCMP environment variable) does not exist
or is not executable.
2221 SQL compiler invocation failed with return code error
code.
2222 SQL module module name was not found in application file
name.