101 PCC-02010 to PCC-02474
- PCC-02010: found end-of-file while scanning string literal
-
Cause: A string in a SQL statement, which should be delimited by single quotation marks, was not terminated properly.
- PCC-02011: found identifier greater than 128 characters (truncated)
-
Cause: The precompiler found an identifier that was too long.
- PCC-02012: did not find matching quote for char constant
-
Cause: A character constant with a single quotation mark was not terminated.
- PCC-02013: unknown escape sequence
-
Cause: The precompiler found an escape sequence that it could not process inside a string literal. This error can arise when multibyte character strings that can contain shift-in or shift-out escape sequences are used.
- PCC-02014: Syntax error at line number, column number, file string:\n
-
Cause: The precompiler detected an errorin C or embedded SQL syntax. This message is followd by a more specific error message.
- PCC-02015: unable to open include file
-
Cause: The precompiler could not open a header file that was specified using the #include preprocessor directive or the EXEC SQL INCLUDE statement. This can happen if the file specification is inaccurate or if read permission or read access rights on the file or on one or more of the directories in the path were not granted.
- PCC-02016: Absolute path to included file, "string" exceeds the limit of number characters
-
Cause: The file name length specified exceeded the maximum length. Some operating systems have a maximum file name length.
- PCC-02017: unable to open output file
-
Cause: The precompiler could not open an output file. This could be a generated code output file(.c file) or a listing file. This message can result from many causes. For example: o) A pathname for a specified output file contains a non-exixtent directory. o) An operating-system error occured because the file system or disk is full. o) Write permission on the specified directory or directories in the path do not exist.
- PCC-02018: found end-of-file while scanning comment
-
Cause: A C comment either in C code or in an embedded SQL statement, was not terminated.
- PCC-02019: Preprocessor warning at line number, column number, file string:\n
-
Cause: This message indicates that a warning condition occured as the precompiler was doing the preprocessor pass. A more specific warning message will follow this message.
- PCC-02020: Preprocessor error at line number, column number, file string:\n
-
Cause: This message indicates that an error condition occured as the precompiler was in the preprocessing phase. A more specific error message will follow this message.
- PCC-02021: Found newline while scanning string literal
-
Cause: A string constant contains a newline character, For example char x[] = "Hello world";
- PCC-02022: Found end of file while scanning a SQL statement
-
Cause: The precompiler encountered an end of file while parsing an EXEC SQL statement.
- PCC-02023: Found end of file while scanning a PL/SQL statement
-
Cause: The precompiler encountered an end of file while parsing a PL/SQL statement (EXEC SQL EXECUTE ...).
- PCC-02035: CMD-LINE: CONFIG= option is invalid in a config file
-
Cause: A user configuration file inside a user configuration file cannot be specified. That is, nested configuration files cannot be nested.
- PCC-02040: CMD-LINE: Option selected, but no value provided
-
Cause: An option on the command line was specified, but a value for it was not included. For example, the offending code might look like: proc iname=sample1.pc oname=
- PCC-02041: CMD-LINE: Option does not exist:
-
Cause: A non existent option on the command line was specified.
- PCC-02043: CMD-LINE: Option syntax is incorrect
-
Cause: A value for a command line option was incorrectly specified.
- PCC-02044: CMD-LINE: Illegal or out of range value for option:
-
Cause: A value specified for a command line option was not within the accepted range. For example,, the range for the MAXOPENCURSORS option is 5 to 256. If a value outside the range is specified, the message is triggered.
- PCC-02045: CMD-LINE: Option is not unique:
-
Cause: An option name was partially specified on the command line that made it non unique. For example, % proc in=t.pc the "in" option can imply either the INAME or INCLUDE option.
- PCC-02046: CMD-LINE: Unable to open config file:
-
Cause: A non-existent user configuration file was specified on the command line with the config option.
- PCC-02047: CMD-LINE: Option is not allowed inline:
-
Cause: An option was entered inline that can only be entered on the command line or in a configuration file. For example, the offending code might look like EXEC ORACLE OPTION (NLS_CHAR=name); The NLS_CHAR option can only be entered on the command line or in a configuration file.
- PCC-02066: CMD-LINE: Could not find or could not open system config file
-
Cause: The system configuration file has a standard name (pmscfg.h) and a location that is operating system dependent. On UNIX systems, it is located in the ORACLE_HOME/proc directory. If a file named pmscfg.h is not found in the standard location, this warning message is issued.
- PCC-02081: CMD-LINE: Unterminated option value list or value list was truncated.
-
Cause: An option that takes a list of values was entered. The value list did not have a closing parenthesis. This error may also occur if the list of values entered on a single line was too long and Pro*C truncated it.
- PCC-02100: Unable to initialize PL/SQL
-
Cause: The precompiler connected to Oracle but could not invoke the PL/SQL engine. This error can result if an earlier release of Oracle7 is used without the Procedural Option.
- PCC-02101: Unable to open input file
-
Cause: The precompiler could not open the input file. This is the .pc file specified in the INAME=option. This means that the file does not exist, that a directory was incorrectly specified in the pathname, or that the person running the precompiler does not have read permission for the file. This message could also result from operating-system errors. For example, an unmounted file system or disk I/O errors, could trigger this error.
- PCC-02102: Fatal error while doing C preprocessing
-
Cause: The precompiler issues this message after a more specific message.
- PCC-02103: Password:
-
Cause: The username was specified on the command line without a password. For example, proc sqlcheck=full iname=sample1.pc userid=scott
- PCC-02104: Unable to connect to Oracle
-
Cause: The precompiler could not connect to Oracle with the username, password, and, if applicable, database link that was supplied. Note that this is a precompiler message, not a runtime message. This means that the USERID option value, either on the command line or in a configuration file, was incorrect.
- PCC-02105: Unable to open list file
-
Cause: The precompiler could not open the listing file. This message can result from many causes. For example, o) A pathname for a specified listing file contains a non-existent directory. o) An operating-system error occured because the file system or disk is full. o) Write permission on the specified directory has not been granted.
- PCC-02106: Userid only used when SQLCHECK = FULL, userid ignored.
-
Cause: The USERID option was specified on the command line, but SQLCHECK was not equal to FULL or SEMANTICS. The USERID has no effect, unless SQLCHECK=FULL or SQLCHECK=SEMANTICS.
- PCC-02107: You may not specify PARSE = FULL when CODE = CPP
-
Cause: The PARSE=FULL and CODE=CPP options were both specified on the command line. The PARSE=FULL option invokes the C parser which does not understand any C++ constructs generated by the precompiler with CODE=CPP option.
- PCC-02108: UNSAFE_NULL=YES allowed if MODE=ORACLE and DBMS=V7 or V8
-
Cause: UNSAFE_NULL=YES was specified on the command line, but but either the MODE was not ORACLE or the DBMS was not V7 or V8.
- PCC-02109: SQLCHECK=NONE is no longer supported.. using SYNTAX
-
Cause: SQLCHECK=NONE was specified on the command line but is no longer a supported option. SQLCHECK=SYNTAX was used instead.
- PCC-02110: DBMS=V6_CHAR is deprecated. Use CHAR_MAP=VARCHAR2, DBMS=V7 instead
-
Cause: DBMS=V6_CHAR was specified on the command line but is no longer a supported option. The options CHAR_MAP=VARCHAR2 and DBMS=V7 were used instead.
- PCC-02111: CHAR_MAP option ignored. Only CHAR_MAP=VARCHAR2 allowed for DBMS=V6
-
Cause: DBMS=V6 was specified, and CHAR_MAP was specified with a value other than VARCHAR2. The CHAR_MAP value is ignored.
- PCC-02112: OBJECTS option ignored. OBJECTS=YES is not allowed for DBMS=V6 or V7.
-
Cause: OBJECTS=YES was specified on the Pro*C command line, but the DBMS option value was not valid.
- PCC-02113: DBMS=V6 no longer supported; using DBMS=NATIVE, CHAR_MAP=VARCHAR2.
-
Cause: DBMS=V6 was specified on the command line, but is no longer a supported option value. The options DBMS=NATIVE and CHAR_MAP=VARCHAR2 were used instead.
- PCC-02114: Command line argument MODE=ANSI may not be used with DBMS=V6
-
Cause: The semantics of certain operations (such as character comparison) in Oracle version ^ are not 100% compliant with the ANSI/ISO SQL standards. When V6 semantics are requested, using the DBMS=V6 or DBMS=V6_CHAR option, precompilation with MODE=ANSI is not permitted.
- PCC-02115: Unable to open output file for writing
-
Cause: An attempt was made to precompile a header file where the output data file could not be opened (or created) for writing.
- PCC-02116: You must specify a file extension using the HEADER option
-
Cause: An attempt was made to precompile a header file without specifying the name of the extension to use when creating the generated data file.
- PCC-02117: Semantic checking disabled by TimesTen.
-
Cause: Semantic checking is not supported by TimesTen
- PCC-02129: CMD-LINE: Client supplied static options table is invalid
-
Cause: This is an internal error message not usually issued.
- PCC-02132: CMD-LINE: Could not allocate memory
-
Cause: This is an internal error message not usually issued.
- PCC-02133: CMD-LINE: Error in string processing function
-
Cause: This is an internal error message not usually issued. It indicates that a C string function, such as strcpy or strlen, returned an error.
- PCC-02134: CMD-LINE: Null option supplied
-
Cause: A zero length option was specified on the command line.
- PCC-02135: CMD-LINE: User asked for help
-
Cause: This is a final message that the precompiler issues when information about the command line options has been requested. For example, if the command proc ? is issued to get a list of current default values for the command line options, this message appears at the end of the list.
- PCC-02138: CMD-LINE: Internal consistency error
-
Cause: This is an internal message for program exceptions. An unexpected condition was encountered by the command-line processor and a consistency check failed. Some possible causes of this message include: --invalid command-line options --memory corruption
- PCC-02144: CMD-LINE: Blank characters are not allowed on either side of an equal sign (=)
-
Cause: An equal sign (=) was either immediately preceded or followed by a blank character.
- PCC-02146: CMD-LINE: value of option too long
-
Cause: The length of the user option exceeded 1023 bytes
- PCC-02150: Error at line number, column number in file string
-
Cause: An error was encounter at the given location.
- PCC-02151: Line number column number file string:
-
Cause: An error was encounter at the given location.
- PCC-02152: Unable to open file string to display or list the source line number
-
Cause: The file contains an error, but could not be reopened to list or display the incorrect line.
- PCC-02153: Open file: string
-
Cause: A new source file was opened while producing the list file.
- PCC-02154: Close file: string
-
Cause: A source file was closed while producing the list file.
- PCC-02200: found unrecognized punctuation sequence
-
Cause: The error indicates that the precompiler parser encountered a badly-formed identifier or keyword.
- PCC-02201: Found syntax error
-
Cause: This general message precedes one or more specific messages that detail the nature of the error.
- PCC-02202: No typedef name was given
-
Cause: The precompiler parser encountered a typedef statement that had no name after the type specification. For example, typedef int;
- PCC-02203: found end of file when not expected
-
Cause: The parser can emit this message when a general syntax error occurs, for example, an unmatched '{' or '('.
- PCC-02204: EXEC SQL INCLUDE not permitted from within an included file
-
Cause: EXEC SQL INCLUDE statements cannot be nested. Also, EXEC SQL INCLUDE statement cannot be put inside a file that is included using the #include preprocessor command.
- PCC-02205: Parser error at line number, column number, file string:\n
-
Cause: The precompiler parser encountered a syntax error, either in C code or in SQL code. A more specific message should follow.
- PCC-02206: Host variables are not permitted within a DDL statement
-
Cause: A Data Definition Language statement cannot use host variables. For example, the statement CREATE TABLE :table_name (c1 char(10)); is illegal, because the name of the table in a CREATE TABLE statement cannot be represented using host variable.
- PCC-02207: Invalid macro name
-
Cause: The precompiler parser encountered a #define directive that had no macro name associated with it. For example, #define
- PCC-02208: No filename specified in #include statement
-
Cause: The precompiler parser encountered a #include directive that had no filename associated with it. For example, #include
- PCC-02209: Macro invocation has incorrect number of arguments
-
Cause: A macro invocation in the source does not have the same number of arguments as the macro definition in the #define line.
- PCC-02210: C++ punctuation sequences are not permitted
-
Cause: C++ punctuation sequences are not supported by the ProC/C++ precompiler.
- PCC-02301: cannot reopen input file for reading
-
Cause: The semantic analysis phase of the precompiler could not reopen the input file to generate the output code.
- PCC-02302: cannot open code generation output file "string"
-
Cause: Pro*C was unable to open one or both temporary files required for code generation. The user executing the precompiler must have write permission (and/or the appropriate privileges) on the current directory.
- PCC-02303: cannot open include file
-
Cause: The precompiler was not able to open a header file specified using the #INCLUDE preprocessor directive or the EXEC SQL INCLUDE statement. This can happen if the file specification is inaccurate or if read permission or read-access rights on the file or on one or more of the directories in the path have not been granted.
- PCC-02304: invalid declaration of C function
-
Cause: A C function using invalid syntax was declared.
- PCC-02305: illegal mixing of new and old style C function declarations
-
Cause: All C functions using either the traditional style (K&R style) function declarations or the new (ANSI) style must be declared; the two styles cannot be mixed.
- PCC-02306: illegal name of C function
-
Cause: A C function was declared with a name that is not a legal C identifier.
- PCC-02307: void can only be used when single parameter
-
Cause: A function can be declared or defined using the following syntax: int func1(void) to indicate that the function has no parameters. void can be used only once in this case.
- PCC-02308: identifier required in this function declaration
-
Cause: A function definition written in ANSI C must have both the name and the type for all parameters.
- PCC-02309: illegal formal parameter declaration
-
Cause: A formal parameter to a function was specified without giving its type.
- PCC-02310: formal parameter VARCHARs should be declared as pointers
-
Cause: Many C compilers allow structures to be passed to and returned from functions. Although a VARCHAR is implemented as a C struct, VARCHARs must be passed to a function as pointers.
- PCC-02311: cannot have VARCHAR bit fields
-
Cause: Host variables cannot contain bit fields.
- PCC-02312: arrays of VARCHAR greater than 2 dimensions not allowed
-
Cause: A VARCHAR variable having more that 2 dimensions was declared. Multidimensional arrays are not supported as host variables.
- PCC-02313: malformed VARCHAR declaration - missing length
-
Cause: When a VARCHAR is declared, a length specification is mandatory. For example, the following VARCHAR declaration is meaningless, hence illegal: VARCHAR v1[];
- PCC-02314: cannot evaluate constant sizeof expression
-
Cause: A SIZEOF operator was used where a precompiler expression was expected. For example, as the length of a varchar.
- PCC-02315: cannot evaluate expression as constant
-
Cause: The specified expression does not evaluate to a constant. Such expressions are required, for example, as the length of a VARCHAR.
- PCC-02316: illegal operator in constant expression
-
Cause: A non-arithmetic operator was present in a constant expression.
- PCC-02317: illegal cast type expression
-
Cause: An illegal cast is present in the expression.
- PCC-02318: missing type expression
-
Cause: The specified expression is missing the declaration of a type.
- PCC-02319: expression type does not match usage
-
Cause: The type of a variable does not match is usage. For example, in dynamic SQL, a host variable containing the text of a SQL statement must be declared as a C character type or be equivalenced to the SQL type STRING.
- PCC-02320: arithmetic expression does not have correct operand types
-
Cause: The arithmetic expression must be specified with integral types.
- PCC-02321: only subtraction between two pointers is permitted
-
Cause: Pointer values cannot be added, multiplied, or divided. The only arithmetic operation permitted with pointers is subtraction.
- PCC-02322: found undefined identifier
-
Cause: An identifier used in a SQL statement was not defined. For example, a cursor name was referenced that had not been declared, or in a DECLARE CURSOR statement, a statement name was used that had not been PREPAREd.
- PCC-02323: found typedef name used in an expression (expecting a value)
-
Cause: The name of a typedef was found where a variable was expected.
- PCC-02324: found variable name used as a typedef name
-
Cause: The name of a variable was found where a typedef was expected.
- PCC-02325: illegal indirection operation
-
Cause: An attempt was made to use a non-pointer type as a pointer.
- PCC-02326: illegal structure reference operation
-
Cause: A structure component using invalid syntax was referenced. For example, a -> operator was used instead of a required `.' operator.
- PCC-02327: struct or struct pointer required
-
Cause: A scalar host variable was used in a context where a structure (or its pointer) is required.
- PCC-02328: undefined struct member
-
Cause: A structure component was referenced that was not declared as part of the structure.
- PCC-02329: found reference to undeclared function
-
Cause: A function was referenced that was not declared. All function references must be declared.
- PCC-02330: expecting an expression of integer type
-
Cause: The expression does not evaluate to an integer. For example, a SQL FOR expression must evaluate to an integral type.
- PCC-02331: undefined SQL identifier
-
Cause: All SQL identifiers must be declared before they are used. This message can result when a CURSOR or STATEMENT is not declared (defined) before being referenced.
- PCC-02332: attempted to redefine SQL identifier
-
Cause: A SQL identifier (such as a cursor name) can be defined only once.
- PCC-02333: SQL identifier was not declared as a statement
-
Cause: A SQL statement identifier was referenced in a DECLARE... CURSOR statement that was not PREPAREd.
- PCC-02334: SQL identifier was not declared as a cursor
-
Cause: A cursor name was used in an OPEN, FETCH, or CLOSE statement that had not been DECLAREd.
- PCC-02335: body of cursor must name statement identifier
-
Cause: In a Dynamic SQL Method 4 application, the DECLARE... CURSOR statement must name a statement identifier that has been PREPAREd in a preceding statement. The PREPARE statement must physically (not logically) precede the DECLARE command.
- PCC-02336: host variable expression has invalid type
-
Cause: The host variable was declared using a C type that is not permitted as a host variable. See the Programmer's Guide to the Oracle Precompilers for a list of the permissible C types for host variables.
- PCC-02337: cannot declare multi-dimensioned array for this type
-
Cause: Host variable arrays of scalars with more than 1 dimension cannot be declared.The only host variables allowed to be multi-dimensioned are CHAR and VARCHAR.
- PCC-02338: structure contains a nested struct or union
-
Cause: A structure used as a host variable may not have structures or unions nested within it.
- PCC-02339: host variables cannot be of union types
-
Cause: A C union as a host variable cannot be used.
- PCC-02340: structure contains a bit field
-
Cause: Bit fields are not allowed in host variables because they are meaningless for database DML operations.
- PCC-02341: host variable has illegal type
-
Cause: A host variable has an unpermitted type (i.e.; enum, void, etc).
- PCC-02342: using WHERE CURRENT OF on cursor defined without FOR UPDATE clause
-
Cause: When MODE=Oracle, a cursor defined with a WHERE CURRENT OF clause must also have a FOR UPDATE clause.
- PCC-02343: body of cursor must be a query expression
-
Cause: A cursor definition must be a SELECT statement.
- PCC-02344: Host variable array size mismatch. Using minimum: number
-
Cause: Host variable arrays in a single statement should all be of equal size.
- PCC-02345: SQLCHECK=SEMANTICS must be given when embedded PL/SQL blocks are used
-
Cause: Embedded PL/SQL blocks require that the command-line flag SQLCHECK=SEMANTICS is used.
- PCC-02346: PL/SQL found semantic errors
-
Cause: A database entity, such as a table or column name, was referenced, that does not exist. This is a compile time error, not a runtime error.
- PCC-02347: PL/SQL found syntax errors
-
Cause: A PL/SQL statement was used illegally.
- PCC-02348: indicators are not allowed in EXEC IAF statements
-
Cause: Indicator variables associated with host variables cannot be used in EXECIAF statements such as GET and PUT in a user exit.
- PCC-02349: precision must be specified for this type
-
Cause: In a VAR or TYPE statement, certain Oracle types require that the precision be specified. For example, VARCHAR2 or CHAR.
- PCC-02350: cannot equivalence this SQL type
-
Cause: Datatype or variable equivalencing to the datatypes NUMBER or DECIMAL cannot be used. See the "Datatype Equivalencing" section in the Programmer's Guide to the Oracle Precompilers for more information.
- PCC-02351: illegal datatype equivalencing operation
-
Cause: The datatype specified could not be equivalenced, or the syntax was incorrect in the VAR or TYPE statement.
- PCC-02352: out of bounds bind position from PL/SQL
-
Cause: PL/SQL requested a bind position that does not exist.
- PCC-02353: Semantic error at line number, column number, file string:\n
-
Cause: This error message precedes a more specific error message.
- PCC-02354: A file included with #include may not contain SQL statements
-
Cause: The Pro*C Precompiler reads header files referenced in #INCLUDE directives and uses the values defined in them. But the precompiler never generates code using statements in header files, so use of SQL statements in these files is illegal.
- PCC-02355: Invalid or obsolete option, ignored
-
Cause: A command-line option that is not used in Pro*C Release 2.0 was specified. For example, the option AREASIZE is no longer valid with precompilers used with the Oracle7 Server.
- PCC-02356: Warning at line number, column number, file string:\n
-
Cause: This is a generic warning message. It precedes a more specific warning.
- PCC-02357: Function calls may not be used as host variable expressions
-
Cause: Only objects that are lvalues (that resolve to an address) can be host variables. Because a function call is not an lvalue, one cannot be used in place of a host variable.
- PCC-02358: Identifier following ARRAYLEN must be the name of an array
-
Cause: A declared array must be specified as the argument for an ARRAYLEN statement. Declare the array textually before the ARRAYLEN statement. See the Programmer's Guide to the Oracle Precompilers for the syntax of the ARRAYLEN statement.
- PCC-02359: Identifier specifying ARRAYLEN must be a 4-byte integer
-
Cause: The expression that specifies the ARRAYLEN dimension must evaluate to an integer. For example, the statement EXEC SQL ARRAYLEN my_array(1,3) cannot be parsed.
- PCC-02360: This array type is invalid for use with ARRAYLEN statement
-
Cause: Arrays of some host variables types are not allowed and hence also cannot be used in ARRAYLEN statements. VARCHAR and DATE are examples.
- PCC-02361: Use of ARRAYLEN with SQL bind arrays is ignored
-
Cause: ARRAYLEN is only valid with arrays that can be bound in PL/SQL blocks.
- PCC-02362: Host variable not declared within SQL DECLARE section
-
Cause: When MODE=ANSI is specified at precompile time, all host variables must be declared inside Declare Sections. Remember that MODE=ANSI refers to ANSI SQL, not ANSI C.
- PCC-02363: Indicator variable must be a structure
-
Cause: If a host variable is a structure, the associated indicator variable must also be a structure.
- PCC-02364: Host struct and its indicator must have the same number of fields
-
Cause: When a structure containing indicator variables is declared and associated with a host structure, the indicator structure must contain the same number of fields as the host structure. This is so even when some of the indicators will not be used or even when it would not make sense to do so (for fields constrained as NON NULL, for example).
- PCC-02365: Indicator array size cannot be smaller than host array size
-
Cause: An indicator array must have dimension greater than or equal to the corresponding host variable array dimension.
- PCC-02366: Command line argument MODE=ANSI may not be used with DBMS=V6
-
Cause: The semantics of certain operations (such as character comparison) in Oracle version ^ are not 100% compliant with the ANSI/ISO SQL standards. When V6 semantics are requested, using the DBMS=V6 or DBMS=V6_CHAR option, precompilation with MODE=ANSI is not permitted.
- PCC-02367: This indicator variable must be declared as type short
-
Cause: An indicator for a host variable of this type must have the C type short. An array of such indicators must be an array of shorts.
- PCC-02368: An EXEC TOOLS host variable context name is not type char
-
Cause: If a host variable is used to define a context name in an EXEC TOOLS GET CONTEXT or EXEC TOOLS SET CONTEXT statement, that host variable must be of a character type.
- PCC-02369: An EXEC TOOLS host pointer variable is not a pointer
-
Cause: The host variable specifying an EXEC TOOLS context must be a pointer type.
- PCC-02370: An EXEC TOOLS MESSAGE host variable is not type char
-
Cause: f a host variable is used to define a context name in an EXEC TOOLS GET CONTEXT or EXEC TOOLS SET CONTEXT statement, that host variable must be of a character type.
- PCC-02371: Illegal FOR clause
-
Cause: The argument of a FOR clause must be specified as an integer or as an identifier containing an integer.
- PCC-02372: FOR clause not allowed in SELECT statement
-
Cause: A SQL statement containing a SELECT command cannot contain a FOR clause. The meaning of such a statement would be unclear.
- PCC-02373: Invalid declaration in EXEC SQL DECLARE section
-
Cause: An improper declaration was placed in a Declare Section. This message is usually caused by including an EXEC SQL TYPE or EXEC SQL VAR declaration in a Declare Section.
- PCC-02374: SQLCHECK value exceeds command line value
-
Cause: The value given to the SQLCHECK option in an EXEC ORACLE statement in a program was greater than the value given either on the command line or greater than the default value if no SQLCHECK option was given on the command line. The order of the option values is SEMANTICS>SYNTAX>NONE. When this warning message is issued, the original value of SQLCHECK (the default or the command-line value) stays in effect.
- PCC-02375: SQL statement found outside the body of a function
-
Cause: A SQL statement other than a declarative, datatype equivalence or WHENEVER statement was found outside the body of a function when PARSE=FULL.
- PCC-02376: You may not declare SQLCODE when DEF_SQLCODE = TRUE
-
Cause: The DEF_SQLCODE option may not be specified if a SQLCODE declaration already explicitely appears in the program.
- PCC-02377: Arrays of implicit varchars are not permitted
-
Cause: An array of implicit VARCHARS was declared when HOST_VARCHAR=TRUE.
- PCC-02378: Invalid type for National Language character variable
-
Cause: A variable declared as a National Language character using the NLS_CHAR option was not declared as a char or implicit VARCHAR.
- PCC-02379: Cannot equivalence National Language character variables
-
Cause: A National Language character variable (specified using the NLS_CHAR option) has undergone datatype equivalencing using either the EXEC SQL VAR or TYPE statements.
- PCC-02380: Cannot specify a connect mode when altering a user password
-
Cause: An attempt was made to connect in either SYSOPER or SYSDBA mode while at the same time trying to change passwords using the ALTER AUTHORIZATION clause in the same CONNECT statement.
- PCC-02382: You must specify MODE=ANSI when using NLS_LOCAL=YES
-
Cause: NLS_CHAR was used to specify NLS multi-byte character variables without specifying MODE=ANSI.
- PCC-02383: Expecting an expression of type OCIExtProcContext
-
Cause: The type of the bind variable given in a REGISTER CONNECT USING statement was not (pointer to) OCIExtProcContext.
- PCC-02384: Missing array length specifier
-
Cause: An array declaration was given without an array length specifier.
- PCC-02385: CHAR_MAP disallowed when using NLS_CHAR and NLS_LOCAL=TRUE
-
Cause: The CHAR_MAP option was specified while indicating which host variables are to be treated by the precompiler as NLS multi-byte character variables. This mapping cannot be performed with the option NLS_LOCAL=TRUE. This error also occurs when DBMS=V6 is used in conjunction with NLS_CHAR and NLS_LOCAL=TRUE.
- PCC-02386: Use of the AT clause is not permitted here
-
Cause: An explicit AT clause was used with an ALLOCATE statement or a FETCH/CLOSE statement also using a SQL_CURSOR declaration.
- PCC-02387: Expecting an expression of type sql_cursor
-
Cause: A host bind variable was used in an ALLOCATE, FETCH or CLOSE statement that was not declared as a result set SQL_CURSOR.
- PCC-02388: Arrays not allowed in FROM/WHERE clause of SELECT statement
-
Cause: A host array was used in the WHERE clause of a SELECT-INTO statement.
- PCC-02389: Arrays not allowed as input bind variables in SELECT list
-
Cause: A host array was used in the SELECT list of a SELECT-INTO statement.
- PCC-02390: No EXEC SQL CONTEXT USE statement encountered
-
Cause: No EXEC SQL CONTEXT USE statement was encountered and the option threads=yes was requested.
- PCC-02391: Runtime context variable not of correct type
-
Cause: The host variable in a EXEC SQL CONTEXT USE statement or in the RETURNING clause of a REGISTER CONNECT statement was not declared to be of type SQL_CONTEXT.
- PCC-02392: You are already in an EXEC SQL DECLARE SECTION
-
Cause: A SQL DECLARE SECTION appears nested inside another one.
- PCC-02393: SQL statement found inside an EXEC SQL DECLARE SECTION
-
Cause: An executable SQL statement appears inside a DECLARE SECTION.
- PCC-02394: Input file name and output filename are identical
-
Cause: The values of INAME and ONAME are the same or the default output filename is the same as that specified by ONAME.
- PCC-02395: Using arrays of structs requires that the struct be named
-
Cause: An array of some unnamed struct was used as a host variable. When using arrays of structs, the struct requires a name or tag.
- PCC-02396: Illegal use of arrays inside an array of structs
-
Cause: An array of a struct that contained arrays of scalars or two-dimensional char or VARCHAR fields was used as a host variable.
- PCC-02397: VARCHAR declarations not permitted in #include file
-
Cause: A VARCHAR declaration was found in a file included using a #include form.
- PCC-02398: Indicator ignored in this statement for this type
-
Cause: An indicator variable was used in a host/indicator variable pair for some type in a statement that did not require or need one. Typically, indicator variables are not used in ALLOCATE and FREE statements for types other than object or collection types. They are also not used in OBJECT CREATE/DEREF statements for REF types.
- PCC-02399: Illegal CHAR_MAP option value for DBMS=V6. Option ignored.
-
Cause: A CHAR_MAP option other than CHAR_MAP=VARCHAR2 was specified inline. Since DBMS=V6, this option is ignored for a character or string variable in the offending statement.
- PCC-02400: This host variable must be declared as a pointer type
-
Cause: The specified host variable was not declared as a pointer type.
- PCC-02401: Host variable arrays of this type are currently not supported
-
Cause: Host variable arrays of the specified type are not supported.
- PCC-02402: Pro*C option OBJECTS=YES is required when using the object cache
-
Cause: The object cache will be used for this host variable, but OBJECTS=NO was specified on the Pro*C command line.
- PCC-02403: Invalid indicator variable type for this host variable
-
Cause: The type of the indicator variable is not appropriate for the specified host variable.
- PCC-02404: This indicator variable must be declared as a pointer type
-
Cause: The specified indicator variable was not declared as pointer type.
- PCC-02405: Variable is of undefined type
-
Cause: No declaration was found for the type identifier of the variable.
- PCC-02406: Expecting the form 'RETURN[ING] REF INTO :ref' only
-
Cause: When using the RETURNING clause in an OBJECT CREATE statement, only a single 'REF INTO :host variable' is expected. This error occurs if the expression list to which REF belongs is greater than one or if there are more than one host variables supplied in the into list.
- PCC-02407: Object and REF types do not match
-
Cause: In an OBJECT CREATE or DEREF statement, the types of the given Object and its associated REF do not match.
- PCC-02408: Expecting an expression of some Object type
-
Cause: The expression is not an Object type. For example, many host variable expressions in the Navigational statements require that the variable be declared of some Object type.
- PCC-02409: Expecting an expression of some REF type
-
Cause: The expression is not a REF type. For example, some host variables in the Navigational CREATE and DEREF statements are required to be declared of some REF type.
- PCC-02410: Expecting an expression of some Collection type.
-
Cause: The expression is not a Collection type. A VARRAY or Nested Table object was expected, but the given host variable did not resolve to a valid Collection type.
- PCC-02411: Invalid type for INDICATOR descriptor item host variable
-
Cause: The type of the host variable paired with the INDICATOR descriptor item was invalid. The only permissable types for the INDICATOR item are a signed 2 byte numeric type or an indicator struct generated by the Object Type Translator for a user defined object type.
- PCC-02412: FOR clause not permitted in OBJECT GET or SET statement
-
Cause: An explicit FOR clause was used in an OBJECT GET or OBJECT SET statement. Use of the FOR clause is illegal for these statements.
- PCC-02413: Number of attributes does not match number of host variables
-
Cause: The number of attributes supplied in the attribute list of an OBJECT SET of GET statement does not match the total number of host variables also supplied in that statement.
- PCC-02414: This attribute does not exist in the specified Object
-
Cause: An attribute given in the attribute list of an OBJECT SET or GET statement is not a member of the specified object in that statement.
- PCC-02415: Cannot manipulate Object attributes in an OBJECT GET or SET
-
Cause: An attempt was made to either GET or SET an attribute of an Object that itself was an Object or REF type.
- PCC-02416: The Object in an OBJECT GET or SET must not be an array
-
Cause: The Object specified in an OBJECT GET or SET statement is an array which is illegal.
- PCC-02417: Illegal type conversion between attribute and host variable
-
Cause: An illegal type conversion was attempted in a Navigational GET or SET statement between the type of the Attribute and the type of the Host Variable.
- PCC-02418: Array size mismatch between Object and REF host variables
-
Cause: The array sizes of the Object and REF variables in an OBJECT CREATE or DEREF do not match.
- PCC-02419: Host variable arrays not allowed in an OBJECT SET or GET
-
Cause: An array was found in the host variable list of an OBJECT SET or GET statement.
- PCC-02420: Incomplete (or missing) type specification
-
Cause: An incomplete or perhaps missing type specification was given when declaring a host variable used in some SQL statement.
- PCC-02421: This host variable requires the use of an indicator variable
-
Cause: No indicator variable was provided (or matched) with a specific host variable where one was explicitely required.
- PCC-02422: Invalid value specified for the given context option
-
Cause: An illegal value was given for the specified runtime context option in the CONTEXT option OPTION SET (or GET) statement.
- PCC-02423: Host variable has an invalid type for this option value
-
Cause: The type of the host variable corresponding to a specific option value in a CONTEXT option OPTION SET (or GET) statement is invalid for that particular value.
- PCC-02424: The number of values and host variables does not match
-
Cause: There is a mismatch between the number of values specified and the number of valid host variables given in a CONTEXT option OPTION SET (or GET) statement.
- PCC-02425: An indicator variable is not required with this attribute
-
Cause: In a LOB or Collection DESCRIBE, an Indicator Variable was used with a Host Variable when retrieving a LOB attribute that doesn't require one.
- PCC-02426: Incompatible LOB types
-
Cause: A LOB operation was attempted between LOBs whose types were not compatible. For example, When ASSIGNing one LOB to another, both LOBs must be of the same type. If they are not, this error results.
- PCC-02427: Expression is not of the correct character string type
-
Cause: The given host variable expression was not declared to be of the required character type. In this case, one of several possible character types would have been accepted. However, the host variable type did not match any of them.
- PCC-02428: Buffer type is incompatible with LOB type
-
Cause: This error can occur in either of the following situations 1. An attempt to READ from a LOB into a buffer whose type was not compatible with the LOB type. 2. An attempt to WRITE a buffer into a LOB whose type was not compatible with the buffer type.
- PCC-02429: Expecting an expression of some internal LOB type
-
Cause: The given host variable was not declared to be an Internal LOB. BLOB, CLOB or NCLOB would have been accepted, however, the type of the host variable did not match any of these.
- PCC-02430: Expecting an expression of some arbitrary LOB type
-
Cause: The given host variable was not declared to be any type of LOB, Internal or External. In addition to any Internal LOB type, BFILE would also have been accepted, however, the type of the host variable did not match any of these.
- PCC-02431: Expecting an expression of type external LOB (BFILE)
-
Cause: The given host variable was not declared to be an External LOB. Only BFILE would have been accepted in this case.
- PCC-02432: Cannot open an external LOB (BFILE) in READ WRITE mode
-
Cause: An attempt was made to OPEN a BFILE in READ WRITE mode. Writable BFILEs are currently not supported so this operation is considered erroneous.
- PCC-02433: Invalid host variable and attribute pairing
-
Cause: The host variable and attribute pairing in a LOB or Collection DESCRIBE is invalid. Most likely, this was due to some problem with the host variable. For example, this error could occur if the host variable was not declared or is otherwise not provided.
- PCC-02434: FOR clause not permitted in any LOB statement
-
Cause: An explicit FOR clause was used in some LOB statement. The use of the FOR clause in LOB statements is erroneous.
- PCC-02435: This attribute is only valid for internal LOB types
-
Cause: A request for a LOB attribute was made in a LOB DESCRIBE statement in which the given LOB was not of some Internal LOB type.
- PCC-02436: This attribute is only valid for external LOB types (BFILEs)
-
Cause: A request for a LOB attribute was made in a LOB DESCRIBE statement in which the given LOB was not an External LOB type (BFILE).
- PCC-02437: Expecting an expression having binary integral type
-
Cause: A host variable was given that was not declared to be of some acceptable binary numberic integral type. Generally, when this error occurs, a signed or unsigned integral type was expected. Floating point or otherwise imprecise numeric types are considered erroneous.
- PCC-02438: Arrays of collection objects are not allowed
-
Cause: An array of collections was given in a COLLECTION statement. Only scalar (non-array) collection objects are allowed in any of the COLLECTION statements.
- PCC-02439: FOR clause not allowed in this COLLECTION statement
-
Cause: An illegal FOR clause was used in a COLLECTION statement that did not allow one, particularly, one of either the TRIM or DESCRIBE COLLECTION statements.
- PCC-02440: This attribute is valid for either internal or external LOBs
-
Cause: A request for a LOB attribute was made in a LOB DESCRIBE statement in which the given LOB host variable was neither an Internal an External LOB (BFILE) type.
- PCC-02441: Number of attributes does not match number of host variables
-
Cause: There is a mismatch between the number of attributes and the number of valid host variables in the LOB or Collection DESCRIBE.
- PCC-02442: Expecting a value between 1 and 65535 inclusive
-
Cause: The value specified in the WITH MAX clause of an ALLOCATE DESCRIPTOR statement or the VALUE clause of a GET/SET DESCRIPTOR statement was either less than 1 or greater than 65535.
- PCC-02443: This usage is only valid when DYNAMIC=ANSI is specified
-
Cause: One of the following statements was used without specifying a DYNAMIC=ANSI command line option setting o EXEC SQL ALLOCATE/DEALLOCATE/GET/SET DESCRIPTOR o EXEC SQL DESCRIBE OUTPUT/INPUT ... USING ... descriptor o EXEC SQL EXECUTE ... INTO ... o EXEC SQL EXECUTE ... USING ... descriptor o EXEC SQL OPEN ... INTO ... o EXEC SQL OPEN ... USING ... descriptor
- PCC-02444: Invalid combination of descriptor and non-descriptor clauses
-
Cause: There was a mixing of descriptor and non-descriptor clauses in an ANSI Dynamic SQL statement.
- PCC-02445: USING clause valid only on a PREPAREd dynamic statement
-
Cause: The USING clause was used with an OPEN cursor statement where the cursor declaration was not for a PREPAREd statement. The correct sequence of statements should be as follows EXEC SQL PREPARE s FROM :stmt; EXEC SQL DECLARE c CURSOR FOR s; EXEC SQL OPEN c USING ...;
- PCC-02446: FOR clause not allowed in a DEALLOCATE statement
-
Cause: An explicit FOR clause was used in a DEALLOCATE DESCRIPTOR statement.
- PCC-02447: Cannot specify destination offset in a LOB WRITE APPEND
-
Cause: A destination offset was specified in a LOB WRITE APPEND statement. The destination offset is assumed to be the end of the LOB so specifying an explicit destination offset is erroneous.
- PCC-02448: Cannot specify a UCS2 variable in the NLS_NCHAR option
-
Cause: A variable declared as utext, uvarchar, or longuvarchar was specified in the NLS_NCHAR command line option.
- PCC-02449: Cannot type equivalence a UCS2 type
-
Cause: A UCS2 type has been type equivalenced in an EXEC SQL TYPE statement or a variable of UCS2 type has been type equivalenced in an EXEC SQL VAR statement.
- PCC-02450: Cursor was not declared in scrollable mode
-
Cause: A cursor which was not DECLAREd in SCROLL mode was used in scrollable mode in the FETCH statement.
- PCC-02451: Value of offset cannot be negative in ABSOLUTE orientation mode
-
Cause: The offset for the FETCH ABSOLUTE statement is negative.
- PCC-02452: Common SQL Front End found semantic error
-
Cause: A database entity, such as a table or column name, was referenced, that does not exist. This is a compile time error, not a runtime error.
- PCC-02453: Must use option SQLCHECK=SEMANTICS(FULL) when option OUTLINE is used
-
Cause: The precompiler option OUTLINE was used without specifying SQLCHECK=SEMANTICS(FULL).
- PCC-02454: Must use option OUTLINE when option OUTLINPREFIX is used
-
Cause: The precompiler option OUTLINEPREFIX was used without specifying OUTLINE=YES|OUTLINENAME. The precompiler option OUTLINE must be specifiied if OUTLINPREFIX is used.
- PCC-02455: Must use option OUTLINE when option RUNOUTLINE is used
-
Cause: The precompiler option RUNOUTLINE was used without specifying OUTLINE=YES|OUTLINENAME. The precompiler option OUTLINE must be specifiied if RUNOUTLINE is used.
- PCC-02456: Unable to open Outline SQL file
-
Cause: Pro*C was unable to open the OUTLINE SQL file. The user executing the precompiler must have write permission (and/or the appropriate privileges) on the current directory.
- PCC-02457: Unable to open Outline LOG file
-
Cause: Pro*C was unable to open the OUTLINE LOG file. The user executing the precompiler must have write permission (and/or the appropriate privileges) on the current directory.
- PCC-02458: Outline name length exceeds the allowed limit
-
Cause: Outline name value of outline option_filename_ filetype_seqno has exceeded the allowed limit.
- PCC-02459: Number of outlines has exceeded the limit
-
Cause: Number of outlines that can be created has exceeded the file limit. Allowed outlines per file is 10000.
- PCC-02460: Outline cannot be created
-
Cause: Outline cannot be created as there is syntax error; or outlines are not supported on that statement.
- PCC-02461: Must specify SQLCHECK=FULL along with option PLAN_BASELINE
-
Cause: The precompiler option PLAN_BASELINE was used without specifying SQLCHECK=FULL.
- PCC-02462: Must use option PLAN_BASELINE along with option PLAN_PREFIX
-
Cause: The precompiler option PLAN_PREFIX was used without specifying PLAN_BASELINE=[<module_name>/yes].
- PCC-02463: Must use option PLAN_BASELINE along with option PLAN_RUN
-
Cause: The precompiler option PLAN_RUN was used without specifying PLAN_BASELINE=[<module_name>/yes].
- PCC-02464: Unable to open Plan Baseline SQL file
-
Cause: Pro*C was unable to open the Plan Baseline SQL file. The user executing the precompiler must have write permission (or the appropriate privileges) on the current directory.
- PCC-02465: Unable to open Plan Baseline LOG file
-
Cause: Pro*C was unable to open the Plan Baseline LOG file. The user executing the precompiler must have write permission (and/or the appropriate privileges) on the current directory.
- PCC-02466: Length of Plan Baseline name exceeds the allowed limit
-
Cause: Plan Baseline name <module_name>_filename_ filetype_seqno exceeded the allowed limit.
- PCC-02467: Number of Plan Baselines has exceeded the limit per file
-
Cause: Number of Plan Baselines that can be created has exceeded the file limit. Allowed Plan Baselines per file is 10000.
- PCC-02468: Plan Baseline cannot be created
-
Cause: Plan Baseline cannot be created, as there is a syntax error or Baselines are not supported on that statement.
- PCC-02469: Must use option PLAN_BASELINE along with option PLAN_ENABLED
-
Cause: Parameter required for Plan Baseline creation (PLAN_ENABLED) was used without specifying the option PLAN_BASELINE=[<module_name>/yes].
- PCC-02470: Must use option PLAN_BASELINE along with option PLAN_FIXED
-
Cause: Parameter required for Plan Baseline creation (PLAN_FIXED) was used without specifying PLAN_BASELINE=[<module_name>/yes].
- PCC-02471: Cannot use both PLAN_BASELINE and OUTLINE simultaneously
-
Cause: Both PLAN_BASELINE and OUTLINE options were specified. These options are not supported simultaneously.
- PCC-02472: Module name exceeds 30 bytes, will be truncated in database
-
Cause: SQL Plan Management (SPM) does not support module names greater than 30 bytes and the specified module name exceeded this limit.
- PCC-02473: program has EXEC SQL DECLARE TABLE, therefore PLAN_RUN option is ignored
-
Cause: PLAN_RUN was ignored because DECLARE TABLE was found. Baseline plans were not created during precompilation.
- PCC-02474: invalid numeric value
-
Cause: The numeric value was invalid.