Oracle9i Database Error Messages Release 2 (9.2) Part Number A96525-01 |
|
Cause: SQLLIB was unable to allocate enough memory to execute the program.
Action: Allocate more memory to the user session, then rerun the program. If the error persists, call Oracle Support Services for assistance.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: The program was precompiled by an older version of the Oracle Precompilers, which is incompatible with this release of SQLLIB.
Action: Precompile the program with a newer version of the Oracle Precompilers.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: A SELECT...INTO statement returned more rows than can be stored in the host variable provided.
Action: There are three possible solutions:
Cause: SQLLIB was unable to find or open the SQLLIB message file, SQL*.MSB.
Action: Check that this file exists in the MESG directory and that it is readable.
Cause: An attempt was made to CLOSE a cursor that was already CLOSEd with MODE={ANSI|ANSI14}. A CLOSEd cursor can be re-CLOSEd only when MODE={ORACLE|ANSI13}.
Action: When MODE={ANSI|ANSI14}, verify that a cursor is not already CLOSEd before trying to CLOSE it. Specify MODE={ORACLE|ANSI13} if a CLOSEd cursor is to be re-CLOSEd.
Cause: With PRO*FORTRAN, this error occurs if the precompiler option COMMON_NAME is specified incorrectly. With other Oracle Precompilers, this error occurs when the precompiler cannot generate a section of code.
Action: With Pro*FORTRAN, when using COMMON_NAME to precompile two or more source modules, make sure to specify a different common name for each module. With other Oracle Precompilers, if the error persists, call Oracle Support Services for assistance.
Cause: This internal error typically indicates a memory-related error.
Action: Check the program for memory-related errors, such as invalid pointers or array-bounds violations.
Cause: An attempt was made to OPEN a cursor that was already OPENed with MODE={ANSI|ANSI14|ANSI13}. An open cursor can be re-OPENed only when MODE=ORACLE.
Action: When MODE={ANSI|ANSI14|ANSI13}, verify that a cursor is not already OPENed before trying to OPEN it. Specify MODE=ORACLE if an OPENed cursor is to be re-OPENed.
Cause: An attempt was made to reference a nonexistent row using the CURRENT OF clause in an UPDATE or DELETE statement. This happens when no FETCH has been executed or when FETCH returns a "no data found" error that the program fails to trap.
Action: Check that the last cursor operation succeeded and that the current row of the cursor is valid. The outcome of a cursor operation can be checked in two ways: implicit checking with the WHENEVER statement or explicit checking of SQLCODE in the SQLCA.
Cause: A non-null pointer was given for a hstdef as the second argument to a call to SQLRCN when the first argument was also used. Either the first or the second argument to SQLRCN must be null.
Action: Pass a null pointer in either the first or second argument to SQLRCN.
Cause: Both the first and second arguments to SQLRCN were null. An HSTDEF must be passed into SQLRCN in either the form of an OCI lda (first argument) or as an HSTDEF pointer itself (second argument).
Action: Pass in either an OCI LDA or an HSTDEF, but not both.
Cause: The host name passed into a SQLFCN call was not used in a previous call to SQLRCN.
Action: Use the same identifier used in the corresponding SQLRCN call.
Cause: An attempt was made to execute an OPEN or a PREPARE statement using a cursor that is currently open for another database connection and, therefore, cannot be used for this connection.
Action: Close the cursor to make it available for this connection or use a different cursor for this connection.
Cause: The context name given in the EXEC TOOLS GET CONTEXT statement was never stored with an EXEC TOOLS SET CONTEXT statement.
Action: Use the EXEC TOOLS SET CONTEXT statement to save any contexts to be retrieved later.
Cause: A NULL value was returned by EXEC TOOLS for a host variable that lacks an indicator variable. This error is returned only when MODE=ANSI. When MODE=ORACLE, although the value of the host variable is indeterminate, no error is generated.
Action: Associate an indicator variable with each host variable to which nulls might be returned.
Cause: No connection (not even to the default host) was available, so SQLLIB could not get the message text for the Oracle error that occurred. However, SQLLIB returns the Oracle error number, which can be used to look up the message.
Action: Look up the appropriate message in this manual, and follow the Cause and Action information provided.
Cause: The precompiler found a negative number of array elements in the N or F element of the SQLDA (SQL Descriptor Area, which is used with dynamic SQL Method 4). Before executing the DESCRIBE statement, N must be set to the dimension of the descriptor arrays. After executing the DESCRIBE statement, N must be reset to the actual number of variables DESCRIBEd, which is stored in the F variable.
Action: Check that the N or F variables are set to non-negative values.
Cause: The program was linked to an older version of SQLLIB, which is incompatible with this release of the Oracle Precompilers.
Action: Relink the program with a newer version of SQLLIB
Cause: A host was not removed ("logged off") from SQLLIB because XA still has sessions associated with that host.
Action: Before calling SQLXDH to drop a host, XA must either drop all sessions for that host or set the "doit_anyway" flag.
Cause: The program tried to FETCH an invalid column value into a multi-byte NLS host variable. Specifically, the column did not contain valid double-byte data.
Action: Make sure the column contains only double-byte data. To verify this, use SQL*Plus or Server Manager.
Cause: An attempt was made to link with a version of an Oracle tool that does not support the EXEC TOOLS interface. EXEC TOOLS interface.
Action: Either upgrade the Oracle tool, or use the EXEC IAF interface.
Cause: Your application attempted to execute a SQL statement using a runtime context that is already in use.
Action: Rewrite the application to either wait for one thread to complete before executing another SQL statement with the same runtime context, or to allocate and use a separate runtime context for each thread.
Cause: An attempt to allocate a runtime context failed.
Action: This error typically occurs when the process memory is low. Allocate more memory and run the application again.
Cause: This is an internal error.
Action: Call Oracle Support Services.
Cause: The runtime context associated with this statement has not been properly allocated.
Action: Rewrite the application to execute the EXEC SQL CONTEXT ALLOCATE statement before executing any SQL statements.
Cause: The runtime library was unable to issue a set date format statement with the date format mask supplied.
Action: Check the validity of the date format and correct if necessary. Check the ORA error number for further information.
Cause: An attempt was made to bind or define an NCHAR host variable, and the NLS_NCHAR variable was not set correctly.
Action: Set the NLS_NCHAR environment variable to a valid fixed width character set id and run the application again.
Cause: The EXEC SQL REGISTER CONNECT statement does not contain a RETURNING clause and the agent is running in threaded mode.
Action: Re-code the statement to use a RETURNING clause that references a declared SQL_CONTEXT host variable.
Cause: The external procedure context passed in the EXEC SQL REGISTER CONNECT statement is not valid.
Action: Ensure that you have done the following:
Cause: The call to OCIExtProcGetEnv failed.
Action: Ensure that the OCIExtProcContext that the external procedure has been created with a CONTEXT parameter and that this context is correctly referenced in the EXEC SQL REGISTER CONNECT statement.
Cause: An attempt to register an external procedure context was made when an unnamed connection already exists for the runtime context.
Action: Do not attempt to establish any connections with the EXEC SQL CONNECT statement from external procedures.
Cause: An unallocated collection descriptor was referenced in a COLLECTION SET or COLLECTION GET statement.
Action: Allocate the collection descriptor with the EXEC SQL ALLOCATE statement (for example, EXEC SQL ALLOCATE :coldesc_p;).
Cause: The collection referenced in an EXEC SQL COLLECTION statement is null.
Action: Check the status of the associated indicator variable prior to executing an EXEC SQL COLLECTION statement.
Cause: An attempt was made to retrieve elements from a collection into an unallocated object pointer.
Action: Allocate the object pointer with the EXEC SQL ALLOCATE statement.
Cause: An ANSI allocate, deallocate, get or set descriptor statement was encountered when dynamic option was not set.
Action: Precompile your source with option DYNAMIC=ANSI.
Cause: An attempt to access an unallocated or invalid descriptor was encountered.
Action: For ANSI descriptors, check that descriptor name is valid and descriptor has been allocated and not previously deallocated. Or if using Oracle descriptors (SQLDA) with MODE=ANSI also use DYNAMIC=ORACLE.
Cause: An attempt allocated a descriptor which has previously been allocated was encountered.
Action: Use a unique descriptor name or deallocate the descriptor before attempting to reallocate it.
Cause: The value clause in a dynamic GET or SET statement is less than one or greater than MAX given for descriptor allocation.
Action: Supply a number for the VALUE clause between 1 and the MAX occurrences supplied when the descriptor was allocated.
Cause: The count in a dynamic GET or SET statement is less than one or greater than MAX given for descriptor allocation.
Action: Supply a number for the COUNT clause between 1 and the MAX occurrences supplied when the descriptor was allocated.
Cause: The SQL statement being described contains more output items (or columns) than were allocated in the descriptor.
Action: Increase the MAX number of occurrences when allocating the descriptor.
Cause: An invalid length of zero was encountered in an ANSI dynamic statement.
Action: Set the length to a non-zero value.
Cause: An host variable with an invalid type or length was used to get or set an exact numeric item in an ANSI dynamic statement.
Action: Make sure your host variable is an int or short for C or for COBOL, S9(4) or S9(9) binary/comp/display sign leading separate.
Cause: An host variable with type other than int or short for C or S9(4) or S9(9) binary or comp was used for an exact numeric with and array size > 1.
Action: Use only int or short for C or S9(4) or S(9) binary or comp for COBOL when supplying an exact numeric in conjunction with the for clause to indicate arrays. Specifically, display sign leading separate is not allowed in this context.
Cause: An host variable with type other than character, string or varchar was found as an item name (other than DATA item) in an ANSI Dynamic GET or SET descriptor statement.
Action: Host variable types for character items (other than the DATA item) in ANSI dynamic GET or SET descriptor statements must not be of type LONG or LONG VARCHAR. Redeclare the variable to be character, string or varchar type.
Cause: An ANSI Dynamic SET statement with item name DATA was encountered with out a valid TYPE having been previously set and option MODE=ANSI was used.
Action: With MODE=ANSI, you must set the TYPE before setting the DATA. Issue a SET statement with correct item TYPE or, for output issue a DESCRBE to set the item type. Or use mode=oracle which allows the type to default to the type of the bind/define host variable.
Cause: An attempt to access the datetime interval code or precision was encountered when TYPE_CODE option not set to ANSI.
Action: Use precompiler option TYPE_CODE=ANSI to access the date time interval code or date time interval precision.
Cause: A host variable associated with the item Indicator or Returned Length must be of type short or s9(4) comp. If value semantics and scalar, they may also be gotten into display sign leading separate host variables.
Action: Use signed short for indicator, ref indicator and returned length, ref returned length host variables in C. For COBOL use s9(4) comp. for GETs only with non-arrays and you may use display sign leading separate host variables.
Cause: One of the LOBs used in the LOB append call is invalid or possibly null.
Action: Make sure the LOBs used in the append call are non-null.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|