Was this helpful?
Preprocessor Error Messages
The following is a list of error messages specific to the Ada language.
E_E60001
"The ADA variable '%0c' is an array and must be subscripted."
Reason:
A variable declared as an array must be subscripted when referenced. The preprocessor does not confirm that you use the correct number of subscripts. A variable declared as a 1-dimensional array of characters, must not be subscripted as it refers to a character string.
Action:
If it is an array, subscript the variable when referenced. Ensure that you have used the correct number of subscripts.
E_E60002
"The ADA variable '%0c' is not an array and must not be subscripted."
Reason:
A variable not declared as an array cannot be subscripted. You cannot subscript string variables in order to refer to a single character or a slice of a string (substring).
Action:
If it is not an array, do not subscript the variable.
E_E60003
"The ADA identifier '%0c' is not a declared type."
Reason:
The identifier was used as an Ada type name in an object or type declaration. This identifier has not yet been declared to the preprocessor and is not a preprocessor-predefined type name.
Action:
Declare the type name.
E_E60004
"The ADA CHARACTER variable '%0c' must be a 1-dimensional array."
Reason:
Variables of type CHARACTER can only be declared as 1-dimensional arrays. You cannot use a single character or a multidimensional array of characters as an Ingres string. Note that you can use a multidimensional array of type STRING.
Action:
Declare the variable as a 1-dimensional array.
E_E60005
"The ADA DIGITS clause '%0c' is out of the range 1..16."
Reason:
Embedded Ada supports D_FLOAT floating-point variables. Consequently, all DIGITS specifications must be in the specified range.
Action:
Ensure that all DIGITS specifications are within the specified range.
E_E60006
"Statement '%0c' is embedded in INCLUDE file package specification."
Reason:
Preprocessor INCLUDE files may only be used for Ada package specifications. The preprocessor generates an Ada WITH clause for the package.
Action:
No executable statements may be included in the file because the code generated will not be accepted by the Ada compiler in a package specification.
E_E60007
"Too many names (%0c) in ADA identifier list. Maximum is %1c."
Reason:
Ada identifier lists cannot have too many names in the comma-separated name list. The name specified in the error message caused the overflow, and the remainder of the list is ignored.
Action:
Rewrite the declaration so that there are fewer names in the list.
E_E60008
"The ADA identifier list has come up short."
Reason:
The stack used to store comma-separated names in Ada declarations has been corrupted.
Action:
Try rearranging the list of names in the declaration.
E_E60009
"The ADA CONSTANT declaration of '%0c' must be initialized."
Reason:
CONSTANT declarations must include an initialization clause.
Action:
Include an initialization clause in the CONSTANT declarations.
E_E6000A
"The ADA identifier '%0c' is either a constant or an enumerated literal."
Reason:
The named identifier was used to retrieve data from Ingres. A constant, an enumerated literal, and a formal parameter with the IN mode are all considered illegal for the purpose of retrieval.
Action:
Use a legal idientifier for Ingres data retrieval.
E_E6000B
"The ADA variable '%0c' with '.ALL' clause is illegal."
Reason:
The ADA .ALL clause, as specified with access objects, can be used only if the variable is an access object pointing at a single scalar-valued type. If the type is not scalar valued, or if the access object is pointing at a record or array, then the use of .ALL is illegal.
Action:
Correct the code.
E_E6000C
"The ADA variable '%0c' with '.ALL' clause is not a scalar type."
Reason:
The Ada .ALL clause, as specified with access objects, can be used only if the variable is an access object pointing at a single scalar-valued type. If the type is not scalar valued, or if the access object is pointing at a record or array, then the use of .ALL is illegal.
Action:
Correct the code.
E_E6000D
"Last component in ADA record qualification '%0c' is illegal."
Reason:
The last component referenced in a record qualification is not a member of the record. If this component was supposed to be declared as a record, the following components will cause preprocessor syntax errors.
Action:
Correct the code.
E_E6000E
"In ADA RENAMES statement, '%0c' must be a constant or a variable."
Reason:
The target object of a RENAMES statement must be a constant or a variable, and the item being declared is used a synonym for the target object.
Action:
Correct the code.
E_E6000F
"In ADA RENAMES statement, object is incompatible with type."
Reason:
The type of the target object in the RENAMES statement must be compatible in base type, size, and array dimensions with the type name specified in the declaration.
Action:
Correct the base type, size, or array dimensions.
E_E60010
"Only one name may be declared in an Ada RENAMES statement."
Reason:
One object can rename only one other object.
Action:
Modify the statement to declare only one name.
E_E60011
"Unclosed ADA block. There are %0c block(s) left open."
Reason:
If a file is terminated early or the END statement closing an Ada compilation unit is missing, this error will occur.
Action:
If syntax errors were issued while parsing the compilation unit header, correct those errors first.
E_E60012
"The ADA variable '%0c' has not been declared."
Reason:
The named identifier was used where a variable must be used to set or retrieve Ingres data. The variable has not yet been declared.
Action:
Declare the variable.
E_E60013
"The ADA type %0c is not supported."
Some Ada types are not supported because they are incompatible with the Ingres runtime system.
E_E60014
"The ADA variable '%0c' is a record, not a scalar value."
The named variable qualification refers to a record. It was used where a variable must be used to set or retrieve Ingres data. This error may also cause syntax errors on record component references.
E_E60015
"You must issue a '## WITH %0c' before statement '%1c'."
Reason:
If your compilation unit includes forms statements you must issue the WITH EQUEL_FORMS clause. Otherwise you must issue the WITH EQUEL clause.
Action:
Iss the WITH EQUEL_FORMS clause if your compilation unit includes forms statements. If not, use the WITH EQUEL clause.
E_E60016
"The ADA statement %0c is not supported."
Statements that modify the internal representation of variables that interact with Ingres are not supported.
Last modified date: 06/10/2024