DB2 Server for VSE: Messages and Codes


Chapter 10. ARI5500-ARI5593 FLAGGER Messages


The FLAGGER messages use both SQL and ANSI terms. The ANSI terms are defined below. For a definition of the SQL terms, refer to the DB2 Server for VSE & VM SQL Reference manual.

These terms are in uppercase letters in both this manual and the DB2 Server for VSE & VM SQL Reference manual.

ALL SET FUNCTION
ALL column function. Any column function where ALL is implicitly or explicitly specified. (In other words, duplicate values are not eliminated.)

AUTHORIZATION IDENTIFIER
The name of the owner or creator of an object, such as a table.

COLUMN DEFINITION
The definition of a column of a table.

COLUMN SPECIFICATION
Reference to a named column.

COMPARISON PREDICATE
A basic predicate. A predicate that compares two values.

DEGREE
The number of columns or expressions selected in an SQL statement.

DISTINCT SET FUNCTION
DISTINCT column function. Any column function with which DISTINCT has been specified. (In other words, duplicate values are to be eliminated.)

GROUPed view or GROUPed table
A view or table that is a result of a GROUP BY clause, a HAVING clause or both of these clauses. A view can also be GROUPed view if any view referenced in the FROM clause is a GROUPed view.

GROUPing column
A column referenced in a GROUP BY clause.

IDENTIFIER
An alphameric token used to form a name.

OUTER REFERENCE
A correlated reference.

QUERY EXPRESSION
A fullselect.

QUERY TERM
A subselect or a fullselect that is surrounded by parentheses.

QUERY SPECIFICATION
A subselect.

RESULT SPECIFICATION
The columns to be searched for in a subquery.

SEARCH CONDITION
One or more Boolean terms.

SELECT LIST
List of columns or expressions, or * specified in the SELECT statement.

SELECT TARGET LIST
One or more TARGET SPECIFICATIONs.

SET FUNCTION SPECIFICATION
One of the following column functions:

SORT SPECIFICATION
The clause comprised of column names, integers, ASC, and DESC that follows the keywords in an ORDER BY clause. For example, in the clause ORDER BY COL1 DESC, COL1 DESC would be the SORT SPECIFICATION.

TABLE EXPRESSION
A FROM clause optionally followed by a WHERE clause, a GROUP BY clause, or a HAVING clause.

TARGET SPECIFICATION
Specification of a parameter or variable that can be assigned a value.

VALUE EXPRESSION
A value specified as the value itself, through a variable name, or as an arithmetic expression.

VIEW COLUMN LIST
A list of column names provided on the CREATE VIEW statement.

ARI5500IFLAGGER Message: The FIPS standard is used for syntax flagging.

Explanation: Information message to identify the standard used for flagging during preprocessing.

System Action: Processing continues.

ARI5501IFLAGGER Message: The SAA standard is used for syntax flagging.

Explanation: Information message to identify the standard used for flagging during preprocessing.

System Action: Processing continues.

ARI5502IFLAGGER Message: The statement deviates from the SQL standard syntax at the token starting with the text  text .

Explanation: A syntax deviation from the standard named in the earlier message (FIPS or SAA) was encountered in the SQL statement.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5503IFLAGGER Message: A data definition statement is not within a CREATE SCHEMA statement.

Explanation: The FIPS standard requires that all data definition statements are contained within a CREATE SCHEMA statement.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5504IFLAGGER Message: There is a nonstandard embedded comment.

Explanation: A comment embedded in an SQL statement does not meet the requirements of the standard being flagged:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5505IFLAGGER Message: An SQL syntax deviation occurred. The statement is not complete.

Explanation: The SQL statement terminated before all required elements were found.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5506IFLAGGER Message: Identifier identifiername is more than 18 characters.

Explanation: AUTHORIZATION IDENTIFIER, table identifier, column name, correlation name, module name, cursor name, procedure name, or parameter name has a length of more than 18 characters.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5507IFLAGGER Message: Column  column  has an invalid length, precision, or scale attribute.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5508IFLAGGER Message: The data type of datatype should be an exact numeric with a scale of zero.

Explanation: Data type of an indicator variable should be exact numeric with a scale of zero.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5509IFLAGGER Message: The SET FUNCTION SPECIFICATION references column  column .

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5510IFLAGGER Message: A VALUE EXPRESSION containing  column  cannot include operators.

Explanation: A VALUE EXPRESSION cannot include operators in an OUTER REFERENCE COLUMN SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5511IFLAGGER Message: The COLUMN SPECIFICATION is missing or is invalid for the ALL SET FUNCTION  function .

Explanation: The VALUE EXPRESSION of an ALL SET FUNCTION SPECIFICATION should include a COLUMN SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5512IFLAGGER Message: Column  column  is not unique and requires qualification.

Explanation: The specified column is not unique with the current scope. Qualification must be given to uniquely identify the required column.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5513IFLAGGER Message: A VALUE EXPRESSION may not contain a SET FUNCTION SPECIFICATION.

Explanation: The VALUE EXPRESSION of an ALL SET FUNCTION must not contain a SET FUNCTION SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5514IFLAGGER Message: Column  column  does not identify a column of a table within the current scope.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5515IFLAGGER Message: A column function that contains the OUTER REFERENCEd column  column  is not in the subquery of a HAVING clause.

Explanation: A column function must be contained in a subquery of a HAVING clause if it contains an OUTER REFERENCE COLUMN SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5516IFLAGGER Message: The result of a SUM or AVG function cannot be a character string.

Explanation: Character string is not valid for the result of a SUM or AVG SET FUNCTION SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5517IFLAGGER Message: Operator  operator  is invalid in this context.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5518IFLAGGER Message: The  exptype  EXPRESSION is comparing incompatible data types.

Explanation: The data types of one of the following (identified by exptype) do not match:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5519IFLAGGER Message: The operand in the LIKE predicate is not a character string.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5520IFLAGGER Message: The ESCAPE character must be a one-byte character string.

Explanation: Escape character in a LIKE predicate must have the data type of character string with the length of 1.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5521IFLAGGER Message: The WHERE clause, GROUP BY clause, or HAVING clause is invalid for the GROUPed view  view .

Explanation: If the table identified in the FROM clause is a GROUPed view, then the TABLE EXPRESSION must not contain a WHERE clause, GROUP BY clause, or HAVING clause.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5522IFLAGGER Message:  Name  occurs more than once in a FROM clause.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5523IFLAGGER Message: Only one table reference is allowed in the FROM clause for a GROUPed view.

Explanation: If the table identified by table name is a GROUPed view, then the FROM clause must contain exactly one table reference.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5524IFLAGGER Message: A reference to column  column  derived from a column function is invalid in a WHERE clause.

Explanation: A VALUE EXPRESSION directly contained in the SEARCH CONDITION of a WHERE clause must not include a reference to a column derived from a column function.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5525IFLAGGER Message: A HAVING clause must contain the WHERE clause when the WHERE clause has a column function.

Explanation: If a VALUE EXPRESSION directly contained in the SEARCH CONDITION is a column function, then the WHERE clause must be contained in a HAVING clause.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5526IFLAGGER Message: The COLUMN SPECIFICATION for  column  must be an OUTER REFERENCE.

Explanation: If a VALUE EXPRESSION directly contained in the SEARCH CONDITION is a function, then the COLUMN SPECIFICATION in the column function expression must be an OUTER REFERENCE.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5527IFLAGGER Message: Column  column  is duplicated within the current scope.

Explanation: The specified column is duplicated within the current scope.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5528IFLAGGER Message: The COLUMN SPECIFICATION for  table  should be a GROUPing column or should be specified within a column function.

Explanation: Each COLUMN SPECIFICATION contained in a subquery in the SEARCH CONDITION of a HAVING clause must reference a GROUPing column or be specified within a column function.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5529IFLAGGER Message: DEGREE of table  table  should be 1 when using a RESULT SPECIFICATION of *.

Explanation: The DEGREE of the TABLE EXPRESSION must be 1 if the RESULT SPECIFICATION * is specified in a subquery of any predicate other than an EXISTS predicate.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5530IFLAGGER Message: The column function is not valid for the TABLE EXPRESSION beginning with table  table .

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5531IFLAGGER Message: The COLUMN SPECIFICATION for  column  is invalid.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5532IFLAGGER Message: DISTINCT is specified more than once.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5533IFLAGGER Message: The COMPARISON PREDICATE subquery cannot contain a GROUP BY or HAVING clause.

Explanation: If a subquery is specified in a COMPARISON PREDICATE, then the TABLE EXPRESSION whose FROM clause identifies the named table must not contain a GROUP BY clause or a HAVING clause.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5534IFLAGGER Message: The COMPARISON PREDICATE subquery cannot identify a GROUPed view.

Explanation: If a subquery is specified in a COMPARISON PREDICATE, then the TABLE EXPRESSION whose FROM clause identifies the named table must not identify a GROUPed view.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5535IFLAGGER Message: Invalid AUTHORIZATION IDENTIFIER  authid .

Explanation: The AUTHORIZATION IDENTIFIER prefixed to the table name is invalid.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5536IFLAGGER Message: Table or view  name  already exists.

Explanation: The table name or view name specified already exists in the catalogue.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5537IFLAGGER Message: The COLUMN DEFINITION is missing.

Explanation: At least one COLUMN DEFINITION should be specified for a CREATE TABLE.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5538IFLAGGER Message: The data type  type1  of the target is not compatible with the data type  type2  of the source.

Explanation: Data types should match between both the target and source:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5539IFLAGGER Message: You must specify a VIEW COLUMN LIST for  table .

Explanation: If any two columns in the table specified by the QUERY SPECIFICATION have the same column name, or if any column of that table is an unnamed column, then a VIEW COLUMN LIST must be specified.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5540IWarning: There is not enough memory for the FLAGGER. Flagging is suspended for this statement.

Explanation: The FLAGGER has run out of stack space.

System Action: Flagging continued for subsequent statements.

User Response: Notify the system programmer.

System Programmer Response: Check whether the memory allocation for the preprocessor can be expanded. Allocate more memory for the FLAGGER operation if possible. Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5541IWarning: An error occurred when attempting to load the FLAGGER  modulename . Flagging capability is affected.

Explanation: The FLAGGER data or load module used to describe the syntax for the standard being flagged was not found during FLAGGER initialization.

System Action: If the module that failed to load was a syntax module (ARIFF00 or ARIFS00), then flagging is discontinued. If the module was a semantics module, then semantics checking stops, and only syntax checking continues.

User Response: Notify the system programmer.

System Programmer Response: Refer to the message produced by the operating system for details of causes and proceed as instructed for that message. Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5542IWarning: An error occurred when initializing the FLAGGER. Flagging is discontinued.

Explanation: An internal error occurred during FLAGGER initialization.

System Action: Preprocessing continues but FLAGGER operation is discontinued.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5543IWarning: The FLAGGER could not process the SQL statement. Flagging is discontinued.

Explanation: An SQL statement passed to the FLAGGER caused an internal error within it.

System Action: Preprocessing continues but FLAGGER operation is discontinued.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5544IWarning: An error occurred when terminating the FLAGGER.

Explanation: An internal error occurred during FLAGGER termination.

System Action: Preprocessing continues but FLAGGER operation is discontinued.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5545IWarning: Error during FLAGGER access to the system catalog. Flagging continues to check syntax only. SQLCODE =  nnn  SQLERRP =  modname  SQLERRD1 =  nnn  Creator =  creatorname  Table =  tablename 

Explanation: An internal error occurred during FLAGGER access to the system catalog.

System Action: Flagging continues for syntax checking only.

User Response: Notify your system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5546IWarning: An error occurred when processing FLAGGER internal memory blocks.

Explanation: The FLAGGER could not find an internal memory block.

System Action: Preprocessing continues but FLAGGER operation is discontinued.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5547IWarning: Not enough memory for FLAGGER operation.


Return Code =  nn .

Explanation: The FLAGGER does not have enough memory available to operate.

System Action: Preprocessing continues but FLAGGER operation is discontinued.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5548IWarning: Error releasing FLAGGER memory during termination.

Explanation: The FLAGGER could not release memory back to the operating system.

System Action: Flagging termination stops.

User Response: Notify the system programmer.

System Programmer Response: Refer to the DB2 Server for VSE & VM Diagnosis Guide and Reference manual for more information on failure analysis procedures.

ARI5570IFLAGGER Message: You must declare column  column  as NOT NULL.

Explanation: All columns identified as UNIQUE must be defined with the NOT NULL option.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5571IFLAGGER Message: The viewed table  table  must be updateable.

Explanation: When the WITH CHECK OPTION is specified then the viewed table must be updateable.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5572IFLAGGER Message: Invalid number of column names.

Explanation: The number of column names in the VIEW COLUMN LIST should be the same as the DEGREE of the table specified by the QUERY SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5573IFLAGGER Message: You must declare cursor  cursor  before using it.

Explanation: The cursor specified has not been declared in a DECLARE CURSOR statement.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5574IFLAGGER Message: Cursor  cursor  is already declared.

Explanation: The cursor specified has already been declared in a DECLARE CURSOR statement.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5575IFLAGGER Message: Only * or column names are valid in this context.

Explanation: When UNION is specified, the SELECT LIST for the specification of the two TABLE EXPRESSIONs identified by the QUERY EXPRESSION and QUERY TERM should consist of * or COLUMN SPECIFICATIONs.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5576IFLAGGER Message: The descriptions of tables identified by the QUERY EXPRESSION beginning with table  table1  and the QUERY TERM beginning with  table2  should be identical.

Explanation: When UNION is specified, the descriptions of the two tables should be identical, except for the column names.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5577IFLAGGER Message: The SORT SPECIFICATION  number  is outside the DEGREE of cursor  cursor .

Explanation: If the SORT SPECIFICATION contains an unsigned integer, it should be greater than 0 and not greater than the number of columns in the table.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5578IFLAGGER Message: Table  table  is a read-only table.

Explanation: A DELETE, an INSERT, or an UPDATE statement was specified for a read-only table.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5579IFLAGGER Message: Table  table  must not be identified in a FROM clause of any subquery contained in a SEARCH CONDITION.

Explanation: A table specified in a DELETE or an UPDATE cannot be used in a FROM clause of any subquery contained in its SEARCH CONDITION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5580IFLAGGER Message: Table  table1  is not the first table  table2  specified in the DECLARE CURSOR statement.

Explanation: The table specified in a DELETE or an UPDATE statement should be the first table specified in the FROM clause of the DECLARE CURSOR statement.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5581IFLAGGER Message: The number of TARGET SPECIFICATIONs does not match the DEGREE of cursor  cursor .

Explanation: The number of TARGET SPECIFICATIONs in the FETCH statement does not match the DEGREE of the table specified.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5582IFLAGGER Message: The target table  table  of the INSERT statement is also in the FROM clause or in the subquery.

Explanation: The named table must not be identified in a FROM clause of a QUERY SPECIFICATION or of any subquery contained in the QUERY SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5583IFLAGGER Message: The number of columns specified does not match the number of values specified.

Explanation: In an INSERT statement, the number of columns specified does not match the number of values specified.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5584IFLAGGER Message: The number of columns specified does not match the DEGREE of the QUERY SPECIFICATION beginning with table  table .

Explanation: In an INSERT statement, the number of columns specified does not match the DEGREE of the table specified in the QUERY SPECIFICATION.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5585IFLAGGER Message: There is a data type or length mismatch between column  column  and the INSERT or UPDATE item.

Explanation: One of the following conditions has not been met:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5586IFLAGGER Message: You cannot use a GROUP BY or HAVING clause or identify a GROUPed view in this context.

Explanation: The table identified in the FROM clause of the TABLE EXPRESSION in a SELECT statement should not include a GROUP BY or HAVING clause and should not identify a GROUPed view.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5587IFLAGGER Message: The number of elements specified in the SELECT LIST should match the number in the SELECT TARGET LIST.

Explanation: In the SELECT statement, the number of elements specified in the SELECT LIST should match the number of elements in the SELECT TARGET LIST.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5588IFLAGGER Message: Column function  function  is not allowed in an UPDATE statement.

Explanation: A VALUE EXPRESSION in a SET clause of an UPDATE statement should not include a column function.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5589IFLAGGER Message: You cannot specify NULL for NOT NULL column  column .

Explanation: If NULL is specified in the SET clause of the UPDATE statement, then the corresponding column should allow nulls.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5590IFLAGGER Message: Invalid SQL terminator for host language.

Explanation: The SQL statement was not terminated by the correct construct for the host language being processed.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5591IFLAGGER Message: You must define the host variable  identifier .

Explanation: The host variable named was either:

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5592IFLAGGER Message: Table  table  not found in the catalog.

Explanation: The named table or view does not exist in the system catalog.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.

ARI5593IFLAGGER Message: For the host language  language , there is an invalid IDENTIFIER or LABEL  name .

Explanation: The format of the IDENTIFIER name or LABEL name displayed does not meet the requirements of the host language.

System Action: Processing continues.

User Response: Correct the SQL statement to meet installation standards.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]