SQL/MX MXCMP messages (2000 through 2999)

This section includes process creation errors, IPC errors, static compilation errors, and miscellaneous errors from the optimizer.

SQL 2001

2001 Error or warning number occurred while opening or reading from DEFAULTS table name. Using values.

Where,

number is the error number;

name is the DEFAULTS table name;

values is the default values file.

Cause

NonStop SQL/MX was unable to open system defaults table name because of error number.

Effect

NonStop SQL/MX uses either another file or values instead.

Recovery

A file system error might accompany this error. Use it to diagnose and correct the problem.

SQL 2002

2002 Internal error: cannot create MXCMP server.

Cause

NonStop SQL/MX was unable to create the MXCMP server.

Effect

NonStop SQL/MX could not proceed.

Recovery

Check the environment to make sure that the MXCMP server is set up correctly. Also, because this error might be caused by a communication error, check the configuration. If it seems correct, report the entire message to your service provider.

SQL 2003

2003 Internal error: cannot establish connection with MXCMP server.

Cause

NonStop SQL/MX was unable to establish a connection with the MX compiler (MXCMP) server.

Effect

The operation fails.

Recovery

This error might be a communication error. Check the configuration. If it seems correct, report the entire message to your service provider.

SQL 2004

2004 Internal error: error from MXCMP; cannot work on this query.

Cause

NonStop SQL/MX received an internal error from the MX compiler (MXCMP).

Effect

The operation fails.

Recovery

None. Report the entire message to your service provider.

SQL 2005

2005 Internal error: from compilation, no errors in diagnostics yet for statement: name

Cause

NonStop SQL/MX received an internal error from statement name.

Effect

The operation fails.

Recovery

None. Report the entire message to your service provider.

SQL 2006

2006 Internal error: assertion failure (detail text) in file name at line number.

Where,

detail text is information about the error;

name is the name of the file;

number is the line number.

Cause

NonStop SQL/MX received an internal error in file name at line number. More information is in detail text.

Effect

The operation fails.

Recovery

None. Report the entire message to your service provider.

SQL 2008

2008 Internal error: MXCMP process is out of virtual memory.

Cause

NonStop SQL/MX received an internal error.

Effect

The operation fails.

Recovery

None. Report the entire message to your service provider.

SQL 2009

2009 The user transaction must be rolled back (or committed, if that makes sense in the application) before MXCMP can be restarted and proceed.

Cause

An outstanding transaction must be resolved before the MX compiler (MXCMP) can be restarted.

Effect

The operation fails.

Recovery

None.

SQL 2010

2010 Internal IPC error.

Cause

NonStop SQL/MX received an internal interprocess communication error.

Effect

The operation fails.

Recovery

None. Report the entire message to your service provider.

SQL 2011

2011 Server process could not be created - Operating system error number while resolving program file name name.

Where,

number is the error number;

name is the name of the program file.

Cause

NonStop SQL/MX was unable to create a server process because of the process control procedure error number it received while resolving the program file name.

Effect

The operation fails.

Recovery

Use the process control procedure error to diagnose and correct the problem.

SQL 2012

2012 Server process name could not be created on node - Operating system error number-1, TPCError=number-2, error detail = text. (See Operating system procedure PROCESS_LAUNCH_ for details).

Where,

name is the name of the server process;

number-1 is the error number;

number-2 is the TPCError;

text is the error message text.

Cause

NonStop SQL/MX was unable to create server process namebecause of the process control procedure error number it received. More information appears in detail text.

Effect

The operation fails.

Recovery

Use the process control procedure error to diagnose and correct the problem. See the Guardian Procedure Calls Reference Manual for information about process creation errors.

SQL 2013

2013 Server process name could not be created on segment -Operating system error number on program file.

Where,

name is the name of the server process;

segment is the segment where the error condition occurred;

number is the error number.

Cause

NonStop SQL/MX was unable to create server process nameon segment because of the process control procedure error number it received on the program file.

Effect

The operation fails.

Recovery

Use the process control procedure error to diagnose and correct the problem.

SQL 2014

2014 Server process name could not be created on node - Operating system error number on swap file.

Where,

name is the server process name;

number is the error number.

Cause

NonStop SQL/MX was unable to create server process name because of the process control procedure error number it received on the swap file.

Effect

NonStop SQL/MX does not create the server process.

Recovery

Use the process control procedure error to diagnose and correct the problem.

SQL 2015

2015 Server process name could not be created on segment - Node is unavailable (Operating system error number).

Where,

name is the server process name;

segment is the segment where the error condition occurred;

number is the error number.

Cause

NonStop SQL/MX was unable to create server process name on segmentbecause the node is unavailable or does not exist.

Effect

The operation fails.

Recovery

Do not attempt recovery. Contact your service provider.

SQL 2016

2016 Server process name was started on node but had undefined externals.

Where,

name is the server process name.

Cause

NonStop SQL/MX started server process name but it had undefined externals.

Effect

None.

Recovery

Do not attempt recovery. Contact your service provider.

SQL 2017

2017 Server process name could not be created on node - no more processes (PCBs) available.

Where,

name is the server process name.

Cause

NonStop SQL/MX was unable to create server process name, because no more process control blocks (PCBs) were available.

Effect

NonStop SQL/MX does not create the server process because too many processes are running to allow more to be created.

Recovery

Do not attempt recovery. Contact your service provider.

SQL 2018

2018 Server process name could not be created on node - library conflict.

Where,

name is the server process name.

Cause

NonStop SQL/MX was unable to create server process name because of a library conflict. The process you are trying to create has a different library than the one that is already running.

Effect

The operation fails.

Recovery

Do not attempt recovery. Contact your service provider.

SQL 2019

2019 Server process name could not be created on node - unable to allocate virtual memory.

Where,

name is the server process name.

Cause

NonStop SQL/MX was unable to create server process name because it was unable to allocate enough virtual memory to start the process.

Effect

The operation fails.

Recovery

Do not attempt recovery. Contact your service provider.

SQL 2020

2020 Server process name could not be created on node - unlicensed privileged program.

Where,

name is the server process name.

Cause

NonStop SQL/MX was unable to create server process name because it is an unlicensed privileged program. The server process was configured incorrectly at installation.

Effect

The operation fails.

Recovery

The server process must be a licensed privileged program. Check your configuration.

SQL 2021

2021 System error number occurred in procedure name from process name.

Where,

number is the error number;

procedure name is the name of the procedure;

process name is the server process name.

Cause

NonStop SQL/MX received an internal error.

Effect

The operation fails.

Recovery

None. Contact your service provider.

SQL 2022

2022 System error number occurred in procedure name from process name, detail text.

Where,

number is the error number;

procedure name is the name of the procedure;

process name is the server process name;

text is more information about the error.

Cause

NonStop SQL/MX received an internal error.

Effect

The operation fails.

Recovery

None. Contact your service provider.

SQL 2023

2023 Server process name could not be created - process id.

Where,

name is the server process name;

process id identifies the process.

Cause

NonStop SQL/MX was unable to create server process name.

Effect

The operation fails.

Recovery

Use the messages that accompany this one to diagnose and correct the problem.

SQL 2024

RTS Server Process name is not running or could not be created. NonStop Kernel Error code is returned.

Where,

name is the server process name;

code is the error code returned from NonStop Kernel.

Cause

The collector process receives an error while communicating with an SSMP process, that it has successfully communicated with before.

Effect

No Runtime statistics information is not displayed for the command.

Recovery

Use the messages that accompany this one to diagnose and correct the problem. Check the SSMP process listed in the error message, identify why it is not running, and restart the NonStop SQL/MX.

SQL 2025

2025 Server process name could not be created - CPU is unavailable; process id.

Where,

name is the server process name;

process id identifies the process.

Cause

NonStop SQL/MX was unable to create server process name because the CPU is unavailable or does not exist.

Effect

The operation fails.

Recovery

Check the configuration and the CPU status. Use the messages that accompany this one to diagnose and correct the problem.

SQL 2027

2027 Operating system error number while sending a startup message to process name.

Where,

number is the error number;

name is the server process name.

Cause

NonStop SQL/MX received the process control procedure error number while sending a startup message to process name.

Effect

Usually, the server process does not start.

Recovery

Use the process control procedure error number to diagnose and correct the problem.

SQL 2028

2028 OSS server process name could not be created on node - insufficient resources.

Where,

name is the server process name.

Cause

NonStop SQL/MX was unable to create the OSS server process name because there is not enough memory to create this process.

Effect

The operation fails.

Recovery

Rebalance the system.

SQL 2029

2029 The new min value is greater than the current max value number.

Where,

number is the current maximal value.

Cause

The new minimal value is greater than the current maximal value.

Effect

The new minimal value is not set.

Recovery

Specify a new minimal value that is less than the current maximal value or specify a new maximal value that is greater than the new minimal value.

SQL 2030

2030 The new max value is less than the current min value number.

Where,

number is the current minimal value.

Cause

The new maximal value is smaller than the current minimal value.

Effect

The new maximal value is not set.

Recovery

Specify a new maximal value that is greater than the current minimal value.

SQL 2033

2033 process id: Operating system error number while communicating with process name.

Where,

process id identifies the process;

number is the error number;

name is the name of the process.

Cause

The NonStop SQL/MX process id received process control procedure error number while communicating with the process name.

Effect

NonStop SQL/MX is not able to communicate with the process.

Recovery

Use the process control procedure error to diagnose and correct the problem.

SQL 2034

2034 process id: Operating system error number while communicating with server process name.

Where,

process id identifies the process;

number is the error number;

name is the name of the server process.

Cause

The NonStop SQL/MX process id received process control procedure error number while communicating with server process name.

Effect

The NonStop SQL/MX process is not able to communicate with the server process.

Recovery

Use the process control procedure error to diagnose and correct the problem.

SQL 2035

2035 process id: Open of process name failed - error= number.

Where,

process id identifies the process;

name is the name of the server process;

number is the error number.

Cause

The NonStop SQL/MX process id was unable to open server process name because of the operating system error number it received.

Effect

The operation fails.

Recovery

Use the operating system error to diagnose and correct the problem.

SQL 2037

2037 receiving process: A message from process sending process was incorrectly formatted and could not be processed.

Cause

The NonStop SQL/MX process receiving process received a message from process sending process that was unreadable in some way. Either the message was corrupted by sending process, or an internal error occurred within receiving process.

Effect

The SQL/MX statement fails.

Recovery

None. Contact your service provider.

SQL 2038

2038 Character set name is not supported for SQLCI attribute TERMINAL_CHARSET.

Where,

name is the name of the character set.

Cause

You specified a non-ISO88591 character set name.

Effect

The operation fails.

Recovery

Specify an ISO88591 character set name.

SQL 2050

2050 attribute is not the name of any DEFAULTS table attribute.

Where,

attribute is the attribute name you specified.

Cause

If the SQLSTATE is 42000, this is an error. You attempted to set a CONTROL QUERY DEFAULT setting, but the attribute name you specified is not valid.

If the SQLSTATE is 01000, this is a warning. In an earlier SQL/MX session, you inserted a row into a DEFAULTS table whose attribute column value is invalid.

Effect

If this is an error, the operation fails. If this is a warning, this is an informational message.

Recovery

Correct the attribute name and resubmit.

SQL 2051

2051 Either control optionoption name or value 'value'is not valid.

Cause

You specified an invalid control option name or a valid option with an invalid value.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2052

2052 Optimizer internal counters: value value value value.

Cause

This error appears only if you are running in debug mode.

Effect

None.

Recovery

None. Report the entire message to your service provider.

SQL 2053

2053 Optimizer pass two assertion failure (failure-text) in file file-name at line line-num.

Cause

This is an informational message that is a result of the two-pass mechanism of the optimizer. The optimizer created a simple plan, and then while refining that plan, an internal error occurred, so the simple plan was not improved. The simple plan is still valid and will work.

Effect

Your query will use the original, simple plan.

Recovery

Informational message only; no corrective action is needed. This message will be accompanied by an assertion failure message and, possibly, CONTROL QUERY SHAPE information. However, report the entire message, and the preceding assertion failure message, to your service provider.

This additional information will also be helpful: the DDL for the tables involved, the query that produced this warning, and any CONTROL QUERY SHAPE and CONTROL QUERY DEFAULT settings in effect when the error occurred.

SQL 2055

2055 The specified value 'value' for DEFAULTS attribute name is not valid. text-string.

Where,

text-string contains the additional details about the error. This is an optional text.

Cause

You specified an invalid value for the DEFAULTS attribute listed in the message.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit. For valid values that are allowed in the specified DEFAULTS attribute, see the SQL/MX Reference Manual.

SQL 2056

2056 The value must be a number in the range value.

Cause

You specified a value outside of the allowed range value.

Effect

The operation fails.

Recovery

Enter a valid value and resubmit.

SQL 2057

2057 The value must be a multiple of value.

Cause

You specified an invalid value for an attribute. It must be a multiple of value.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2058

2058 DEFAULTS attribute name is of type data type but is being converted to data type.

Where,

name is the DEFAULTS attribute name;

data type is the attribute name value.

Cause

You specified a DEFAULTS attribute name value of data type, which is not supported. The item is being converted to data type, which is supported.

Effect

Because of the conversion, the actual value used might be truncated or rounded.

Recovery

Specify the value using the expected type, if appropriate.

SQL 2059

2059 Errors or warnings occurred while reading values from DEFAULTS table name.

Where,

name is the name of the table.

Cause

You received an error on the DEFAULTS table name. A previous error message has appeared with specific information.

Effect

The operation fails.

Recovery

None.

SQL 2060

2060 Procedure name has already been defined in this module. The previous definition is being retained and this latest one ignored.

Where,

name is the procedure name.

Cause

You defined procedure name twice in this module.

Effect

NonStop SQL/MX uses the first definition.

Recovery

This is an informational message only; no corrective action is needed.

SQL 2061

2061 Static cursor name has already been defined in this module. The previous definition, as a static cursor, is being retained and this latest one ignored.

Where,

name is the cursor name.

Cause

You defined the static cursor name twice in this module.

Effect

NonStop SQL/MX uses the first static cursor definition.

Recovery

This is an informational message only; no corrective action is needed.

SQL 2062

2062 Static cursor name has already been defined in this module. The previous definition, as a dynamic cursor, is being retained and this latest one ignored.

Where,

name is the cursor name.

Cause

You defined the static cursor name twice in this module.

Effect

NonStop SQL/MX uses the first dynamic cursor definition.

Recovery

This is an informational message only; no corrective action is needed.

SQL 2063

2063 Dynamic cursor name has already been defined in this module. The previous definition, as a static cursor, is being retained and this latest one ignored.

Where,

name is the cursor name.

Cause

You defined the dynamic cursor name twice in this module.

Effect

NonStop SQL/MX uses the first static cursor definition.

Recovery

This is an informational message only; no corrective action is needed.

SQL 2064

2064 Dynamic cursor name has already been defined in this module. The previous definition, as a dynamic cursor, is being retained and this latest one ignored.

Where,

name is the cursor name.

Cause

You defined the dynamic cursor name twice in this module.

Effect

NonStop SQL/MX uses the first dynamic cursor definition.

Recovery

This is an informational message only; no corrective action is needed.

SQL 2065

2065 Statement name was not found in module name.

Where,

name is the statement name;

name is the module name.

Cause

NonStop SQL/MX could not find statement name in module name.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2066

2066 Cursor name was not found in module name.

Where,

name is the cursor name;

name is the module name.

Cause

NonStop SQL/MX could not find cursor name in module name.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2067

2067 Descriptor name has already been defined in this module. The previous definition is being retained and this latest one ignored.

Where,

name is the descriptor name.

Cause

You defined the descriptor name twice in this module.

Effect

NonStop SQL/MX uses the first definition.

Recovery

Informational message only; no corrective action is needed.

SQL 2068

2068 A procedure body must be a SELECT, INSERT, UPDATE, DELETE, MERGE, DECLARE CATALOG, DECLARE SCHEMA, or a static DECLARE CURSOR.

Cause

You specified a procedure whose body is invalid. It must be a SELECT, INSERT, UPDATE, DELETE, MERGE, DECLARE CATALOG, DECLARE SCHEMA, or static DECLARE CURSOR.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2069

2069 A static cursor declaration may appear only in the body of a procedure.

Cause

You specified a static cursor declaration that is outside the body of a procedure. It appears only in the body of a procedure.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2070

2070 Statement is not valid in this context.

Cause

In a module definition file, you specified a query statement such as SELECT, INSERT, UPDATE, DELETE, or a DDL statement. These statements must be embedded in procedures.

Effect

NonStop SQL/MX is unable to compile the module.

Recovery

Correct the syntax and resubmit.

SQL 2071

2071 The name name has already been declared or defined in this module. The previous definition, as a definition type, is being retained and this latest one ignored.

Where,

name is the name of the module;

definition type is the previous definition.

Cause

You defined name twice in this module in which it was defined as a type definition type.

Effect

NonStop SQL/MX uses the previous definition.

Recovery

Specify a new name for the item and resubmit, if necessary.

SQL 2072

2072 A simple value specification that is a literal is not yet supported.

Cause

You specified a simple value as a literal, which is not supported.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2073

2073 Only super ID user can compile system module name.

Where,

name is the name of the module.

Cause

You attempted to compile a system module that can be compiled only by the super ID.

Effect

The operation fails and is unable to compile the entire module correctly.

Recovery

None. Use a different name for your module and recompile.

SQL 2074

2074 The name name is reserved for future system modules.

Where,

name is the name of the module.

Cause

You attempted to use a name that is reserved for future system modules.

Effect

The operation fails and is unable to compile the entire module correctly.

Recovery

None. Use a different name for your module and recompile.

SQL 2075

2075 The -a application name option is not allowed for system module compilation

Cause

You specified mxcmp -a application name system-module-definition-file, which is not supported.

Effect

The operation fails.

Recovery

Delete the -a application name and retry the mxcmp system-module-definition-file command.

SQL 2076

2076 HIST_NO_STATS_UEC should always be less than or equal to CQD HIST_NO_STATS_ROWCOUNT. Present value of HIST_NO_STATS_ROWCOUNT is 'value'.

Cause

You attempted to set the CQD HIST_NO_STATS_UEC value as greater than the current value of CQD HIST_NO_STATS_ROWCOUNT.

Effect

The current value of the HIST_NO_STATS_UEC is retained.

Recovery

Set the value of CQD HIST_NO_STATS_UEC less than or equal to the value of HIST_NO_STATS_ROWCOUNT. If you want to use a larger value, increase the value of CQD HIST_NO_STATS_ROWCOUNT first. Any change in either of the two values can effect the plan quality.

SQL 2079

2079 string1 should always be less than or equal to CQD string2. Value of string2 is value1 and value of string1 is value2.

Where,

string1 is NUMERIC_PARAM_DEFAULT_SCALE or NUMBER_DEFAULT_SCALE;

string2 is NUMERIC_PARAM_DEFAULT_PRECISION or NUMBER_DEFAULT_PRECISION;

value1 is the value of NUMERIC_PARAM_DEFAULT_PRECISION or NUMBER_DEFAULT_PRECISION;

value2 is the value of NUMERIC_PARAM_DEFAULT_SCALE or NUMBER_DEFAULT_SCALE.

Cause

You attempted to set the value of default attribute NUMERIC_PARAM_DEFAULT_SCALE to greater than the current value of default attribute NUMERIC_PARAM_DEFAULT_PRECISION. Or, you attempted to set the value of default attribute NUMERIC_PARAM_DEFAULT_PRECISION to less than the current value of default attribute NUMERIC_PARAM_DEFAULT_SCALE.

Or

You attempted to set the value of default attribute NUMBER_DEFAULT_SCALE to greater than the current value of default attribute NUMBER_DEFAULT_PRECISION. Or, you attempted to set the value of default attribute NUMBER_DEFAULT_PRECISION to less than the current value of default attribute NUMBER_DEFAULT_SCALE.

Effect

The current value of the NUMERIC_PARAM_DEFAULT_SCALE and NUMERIC_PARAM_DEFAULT_PRECISION is retained.

Or

The current value of the NUMBER_DEFAULT_SCALE and NUMBER_DEFAULT_PRECISION is retained.

Recovery

Ensure the value of default attribute NUMERIC_PARAM_DEFAULT_SCALE is less than or equal to the value of default attribute NUMERIC_PARAM_DEFAULT_PRECISION. Value of default attribute NUMERIC_PARAM_DEFAULT_PRECISION should be changed suitably to adjust changes to the attribute NUMERIC_PARAM_DEFAULT_SCALE. Any change in either of these default attributes might effect the plans.

Or

Ensure the value of default attribute NUMBER_DEFAULT_SCALE is less than or equal to the value of default attribute NUMBER_DEFAULT_PRECISION. Value of default attribute NUMBER_DEFAULT_PRECISION should be changed suitably to adjust changes to the attribute NUMBER_DEFAULT_SCALE. Any change in either of these default attributes might effect the plans.

SQL 2080

2080 Error number while reading file: value bytes were read from text when value were expected in module name.

Cause

NonStop SQL/MX received error number while reading module name. value shows the number of bytes read from text. The module file is unusable. Either it has been corrupted or overwritten.

Effect

The operation fails.

Recovery

Recompile the module definition file, using the MXCMP compiler, to create a valid module file.

SQL 2081

2081 Error number while opening file name for read.

Where,

number is the error number;

name is the name of the file.

Cause

NonStop SQL/MX received error number while opening file name for read.

Effect

NonStop SQL/MX does not open the file.

Recovery

Use the error number to diagnose and correct the problem.

SQL 2082

2082 Error number while opening file name for write.

Where,

number is the error number;

name is the name of the file.

Cause

NonStop SQL/MX received error number while opening file namefor write.

Effect

NonStop SQL/MX does not open the file.

Recovery

Use the error number to diagnose and correct the problem.

SQL 2083

2083 Error number while naming or locating file name.

Where,

number is the error number;

name is the name of the file.

Cause

NonStop SQL/MX received error number while naming or locating file name.

Effect

NonStop SQL/MX does not name or locate the file.

Recovery

Use the error to diagnose and correct the problem.

SQL 2084

2084 Error numberwhile writing value bytes to file name.

Cause

NonStop SQL/MX received error number while writing to file name. valueshows the number of bytes being written.

Effect

NonStop SQL/MX does not open the file.

Recovery

Use the error to diagnose and correct the problem.

SQL 2085

2085 Error number was returned when closing file name.

Where,

number is the error number;

name is the name of the file.

Cause

NonStop SQL/MX received error number when closing file name.

Effect

NonStop SQL/MX does not close the file.

Recovery

Use the error number to diagnose and correct the problem.

SQL 2086

2086 The file name could not be purged. This file contains the results of a failed compilation and should be purged.

Where,

name is the name of the file.

Cause

A compilation failed, and for some reason NonStop SQL/MX was not able to purge the module file.

Effect

The module file is not valid and should not be used.

Recovery

Purge the file from the Open System Services (OSS) shell.

SQL 2090

2090 The command line argument for module name, name1, is being ignored in favor of module name name2 in file name3.

Where,

name1, name2, and, name3 are module file names.

Cause

NonStop SQL/MX ignored the command line argument for module name1. Instead, it used the second module name2 in file name3.

Effect

None.

Recovery

None.

SQL 2091

2091 The required module statement was not found in file name.

Where,

name is the name of the file.

Cause

NonStop SQL/MX could not find the required module statement in file name.

Effect

The operation fails.

Recovery

Correct the syntax and resubmit.

SQL 2092

2092 A module statement has already appeared in this file. The previous definition, name, is being retained and this latest one ignored.

Where,

name is the name of the file.

Cause

You included more than one module statement. name will be used.

Effect

NonStop SQL/MX ignores the second module statement.

Recovery

Informational message only; no corrective action is needed.

SQL 2093

2093 A module timestamp statement was not found in file name.

Where,

nameis the name of the file.

Cause

NonStop SQL/MX did not find a module timestamp statement in the module definition file name.

Effect

NonStop SQL/MX uses a default timestamp value of all zeros.

Recovery

Supply a timestamp and resubmit.

SQL 2094

2094 A module timestamp statement has already appeared in this module. The previous timestamp is being retained and this latest one ignored.

Cause

You specified a timestamp statement twice in this module.

Effect

NonStop SQL/MX uses the first timestamp.

Recovery

Informational message only; no corrective action is needed.

SQL 2095

2095 Module file name1, expected to contain module name2, instead contains name3.

Where,

name1, name2, and, name3 are module file names.

Cause

NonStop SQL/MX expected to find the first module name1, but instead found the second module name2, in file name3.

Effect

Only the second module is compiled.

Recovery

None.

SQL 2096

2096 A source file statement has already appeared in this module. The previous source file is being retained and this latest one ignored.

Cause

MXCMP was invoked on a module definition file that contains more than one SOURCE_FILE statement. A module definition can have only one SOURCE_FILE statement that specifies that module's SQL source file.

Effect

The operation fails.

Recovery

Edit the module definition file so that it contains no more than one SOURCE_FILE statement, and rerun MXCMP on the module definition.

SQL 2097

2097 Source file name is over 1024 characters long.

Cause

MXCMP was invoked on a module definition file that contains a SOURCE_FILE statement whose source path name has over 1024 characters.

Effect

The operation fails.

Recovery

Edit the module definition file so that its SOURCE_FILE statement's source path name is no more than 1024 characters long. Rerun MXCMP on the module definition file.

SQL 2098

2098 The compilation typecompilation completed with value warnings.

Cause

compilation type completed with the number of warnings given as value.

Effect

None.

Recovery

Informational message only; no corrective action is needed.

SQL 2099

2099 The compilation typecompilation failed with value errors and value warnings.

Cause

compilation type failed with the number of errors and warnings given as value.

Effect

Any statement with an error is not compiled.

Recovery

If this is a warning, this is an informational message. Otherwise, correct the syntax and resubmit.

SQL 2100

2100 Break was received. The compilation has been aborted.

Cause

NonStop SQL/MX received a break and aborted the compilation.

Effect

NonStop SQL/MX does not continue compilation.

Recovery

Informational message only; no corrective action is needed.

SQL 2101

2101 Compilation failure due to internal error.

Cause

A compilation failed with an internal error.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

None. Report the entire message to your service provider.

SQL 2102

2102 This query could not be compiled with 'MINIMUM' optimization level. Suggestion: Retry with 'MEDIUM' optimization level.

Cause

NonStop SQL/MX was unable to compile this query using the MINIMUM optimization level.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

Resubmit the query with MEDIUM optimization level. Precede the statement with:

CONTROL QUERY DEFAULT OPTIMIZATION-LEVEL 'MEDIUM';

SQL 2103

2103 This query could not be compiled for one/both of the following reasons: a) Use of 'MINIMUM' optimization level, or b) incompatible Control Query Shape specifications.

Cause

NonStop SQL/MX was unable to compile this query, either because it was not able to use the MINIMUM optimization level or because you used an incompatible CONTROL QUERY SHAPE specification.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

If applicable, resubmit the query with MINIMUM optimization level. Precede the statement with:

CONTROL QUERY DEFAULT OPTIMIZATION-LEVEL 'MEDIUM';

Correct the CONTROL QUERY SHAPE specification and resubmit.

SQL 2104

2104 This query could not be compiled for one of two reasons: a) incompatible Control Query Shape (CQS) specifications, or b) 'MEDIUM' optimization level is not sufficient to satisfy the CQS in effect. Suggestion: a) inspect the CQS in effect; or b) raise the optimization level to 'MAXIMUM'. Note that for this query, 'MAXIMUM' optimization level may result in a long compile time.

Cause

NonStop SQL/MX was unable to compile this query, either because it was not able to use the MEDIUM optimization level or because you used an incompatible CONTROL QUERY SHAPE specification.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

If applicable, use the MAXIMUM optimization level, correct the CONTROL QUERY SHAPE specification, and resubmit.

SQL 2105

2105 This query could not be compiled because of incompatible Control Query Shape (CQS) specifications. Inspect the CQS in effect.

Cause

NonStop SQL/MX was unable to compile this query because you used an incompatible CONTROL QUERY SHAPE specification.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

Correct the CONTROL QUERY SHAPE specification and resubmit.

SQL 2106

2106 This statement could not be compiled since it is too long. Break up large statements into smaller pieces.

Cause

NonStop SQL/MX was unable to compile this query because it is too long.

Effect

NonStop SQL/MX is unable to process this query.

Recovery

Try breaking the statement into smaller pieces.

SQL 2107

2107 This statement could not be compiled. Suggestion: Address the issue(s) raised in the reported warning(s).

Cause

NonStop SQL/MX was unable to compile the query.

Effect

The operation fails.

Recovery

To diagnose and correct the problem, use the warning messages returned by the compiler.

SQL 2108

2108 Statement was compiled as if query plan caching were off.

Cause

The SQL/MX compiler attempted to compile this query with query caching on but failed. It then successfully compiled this query with caching turned off.

Effect

The SQL/MX compiler has compiled the query as if query plan caching was turned off even though caching is currently on. The prepared query can be executed as usual.

Recovery

This is an informational message. To prevent this warning, turn off query caching before query preparation.

SQL 2111

2111 Statement was compiled as if optimization level were 'MEDIUM'.

Cause

The SQL/MX compiler attempted to compile this query with maximum optimization level but failed. It then successfully compiled this query with medium optimization level.

Effect

The SQL/MX compiler has compiled the query as if optimization level was set to medium even though optimization level is currently maximum. This might produce a plan that is not the most optimal. However, the prepared query can be executed as usual.

Recovery

This is an informational message. The statement was too complex to be compiled with maximum optimization level and the compiler ran out of memory trying to do so. So, it recompiled the statement with medium optimization level. To prevent this warning, set the optimization level to medium or low.

SQL 2200

2200 DEFAULTS attribute attribute is read-only.

Where,

attribute is the DEFAULTS attribute.

Cause

You attempted to change the DEFAULTS attribute, which is read-only.

Effect

The operation fails.

Recovery

None.

SQL 2201

2201 SQL compilation return code is mxcmp non-zero exit code.

Cause

You invoked mxCompileUserModule on an application file that has an embedded module definition. An SQL compilation of an embedded module definition resulted in an MXCMP nonzero exit code, indicating a warning or error.

Effect

The operation fails.

Recovery

Review the MXCMP warning or error message. Trace the diagnostic back to the module source file and correct the offending source statement. Retry preprocessing, translating, compiling, and SQL compiling the application file.

SQL 2202

2202 Application file is not an application (ELF or SQL) file.

Cause

You invoked mxCompileUserModule on an application file that is not a NonStop Open System Services (OSS) ELF object file.

Effect

The operation fails.

Recovery

Verify that the name application file is an ELF object file. Verify that the name of application file is spelled correctly, and retry the command.

SQL 2203

2203 Application file application pathname cannot be opened.

Cause

You invoked mxCompileUserModule (or mxcmp -a application pathnamemdf) on an application that does not exist or is inaccessible to the user.

Effect

The operation fails.

Recovery

Verify that application pathname exists and is readable by the user. Verify that application pathnameis spelled correctly, and retry the command.

SQL 2204

2204 SQL compilation of module name failed.

Where,

module name is the name of the module.

Cause

You invoked mxCompileUserModule on an application file that has embedded module definitions. The SQL compilation of the named embedded module definition produced an MXCMP warning or error.

Effect

The operation fails.

Recovery

Review the MXCMP warning or error. Trace the diagnostic back to the source file of the named module. Correct offending source statements. Retry preprocessing, translating, compiling, and SQL compiling the application file.

SQL 2205

2205 A temporary filename could not be created.

Cause

You invoked mxCompileUserModule on an application file that has many embedded module definitions. The tool cannot create another temporary file name to hold the contents of an embedded module definition. The tool used tmpnam() to create a string that is not the name of an existing file which tmpnam() could not do.

Effect

The operation fails.

Recovery

Clean up TMPDIR (the directory where temporary files are created) by deleting unused temporary files. Retry the command.

SQL 2206

2206 Temporary file temp filename could not be created.

Where,

temp filename is the name of the temporary file.

Cause

You invokedmxCompileUserModule on an application file that has many embedded module definitions. The tool cannot create another temporary file to hold the contents of an embedded module definition.

Effect

The operation fails.

Recovery

Verify that you have write access to TMPDIR (the directory where temporary files are created) and that TMPDIR has free space. Delete unused temporary files from TMPDIR and retry the command.

SQL 2207

2207 -option is an unknown command line option.

Where,

-option is the command-line option.

Cause

You invoked mxCompileUserModule with an unrecognized command-line option.

Effect

The operation fails.

Recovery

Review the allowable command-line options by invoking mxCompileUserModule. Verify that the desired command-line options are spelled correctly and retry the command.

SQL 2208

2208 mxCompileUserModule requires an application file name.

Cause

You invoked mxCompileUserModule without supplying an application file.

Effect

The operation fails.

Recovery

Invoke mxCompileUserModule on an application file, such as a NonStop Open System Services (OSS) ELF object file.

SQL 2209

2209 string is not a valid delimited identifier.

Cause

You invoked mxCompileUserModule using a command-line option allowing a delimited identifier, but the delimited identifier has an invalid character, such as the @ sign.

Effect

The operation fails.

Recovery

Remove invalid characters, such as the @ sign, from the delimited identifier and retry the command.

SQL 2210

2210 Delimited identifier has no ending quote.

Cause

You invoked mxCompileUserModule using a command-line option allowing a delimited identifier, but the delimited identifier has no closing quote.

Effect

The operation fails.

Recovery

Make sure that the delimited identifier has a closing quote and retry the command.

SQL 2211

2211 Lexical error: unknown symbol character.

Cause

You invoked mxCompileUserModule on an application file, possibly intending to SQL compile only a subset of its embedded module definitions, but you specified an unknown character in the module name list.

Effect

The operation fails.

Recovery

Review the module name list syntax. Verify that the module names are specified correctly and retry the command.

SQL 2212

2212 A syntax error was encountered: expecting string1 instead of string2.

Cause

You invoked mxCompileUserModule on an application file, intending to SQL compile only a subset of its embedded module definitions, but you specified an unexpected string in the module name list.

Effect

The operation fails.

Recovery

Review the module name list syntax, especially where string1 is expected. Verify that the list of module names are specified correctly and retry the command.

SQL 2213

2213 A syntax error was encountered: expecting an identifier instead of string.

Cause

You invoked mxCompileUserModule on an application file, possibly intending to SQL compile only a subset of its embedded module definitions, but you specified an unexpected string in the module name list.

Effect

The operation fails.

Recovery

Review the module name list syntax, especially where an identifier is expected. Verify that the list of module names are specified correctly and retry the command.

SQL 2214

2214 Internal error in mxCompileUserModule in file filename at line linenumber: error message.

Cause

You invoked mxCompileUserModule on an application file to SQL compile its embedded module definitions. An internal error occurred during the operation.

Effect

The operation fails.

Recovery

None. Contact your service provider.

SQL 2215

2215 identifier is not a valid regular identifier.

Cause

You invokedmxCompileUserModule on an application file, possibly intending to SQL compile only a subset of its embedded module definitions, but you specified an invalid regular identifier in the module name list.

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

2220 mxcmp path (MXCMP environment variable) does not exist or is not executable.

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

2221 SQL compiler invocation failed with return code error code.

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

2222 SQL module module name was not found in application file name.

Where,

module name is the requested module name;

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.

Effect

The operation fails.

Recovery

Verify the spelling of the module name and retry the command.

SQL 2223

2223 Application file file name does not exist or is not readable.

Where,

file name is the name of the application file.

Cause

You invoked mxCompileUserModule on the named application file, which does not exist or is not readable.

Effect

The operation fails.

Recovery

Verify the spelling of the application file name and retry the command.

SQL 2233

2233 Query involves remote node nodename that is currently not available. Compiler encountered a file system error error-num. It may produce a plan that is suboptimal or of incompatible version.

Where,

nodename is the name of the node such as \system.$data_volume.$data_subvolume on which the failure occurred;

error-num is the file-system error number.

Cause

The nodename you specified is not available.

Effect

The compiler tried to produce a plan without using that node. This might result in a suboptimal plan.

Recovery

See the Guardian Procedures Errors and Messages Manual to diagnose and correct the problem.

SQL 2235

2235 MXCMP Internal Error: detail-text, originated from file name at line number.

Where,

detail-text is information about the error;

name is the name of the file;

number is the line number.

Cause

An internal error occurred in file name at line number.

Effect

The operation fails.

Recovery

None. Contact your service provider.

SQL 2900

2900 in file file name at line number.

Where,

number is the line number.

Cause

An error occurred in file name at line number.

Effect

Compilation failed because of a syntax error.

Recovery

This is a general error that is issued before a more specific error. Use the error that follows this one to diagnose and correct the problem.

SQL 2984

2984 -g moduleLocal may not specify an Expand directory.

Where,

moduleLocal is an Expand directory.

Cause

You specified an Expand directory.

Effect

Compilation failed because of a syntax error.

Recovery

Specify a valid Guardian or OSS directory.