HPlogo ALLBASE/SQL Message Manual: HP 9000 Computer Systems

Chapter 8 ALLBASE/SQL Error Messages 2771-4013

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

2771
MESSAGE

KEEP CURSOR with NOLOCKS is not supported on NON-UPDATABLE CURSOR. (DBERR 2771)

CAUSE

You specified the KEEP CURSOR WITH NOLOCKS option for a cursor which was declared as SELECT...ORDER BY or SELECT DISTINCT. These operations need to build temporary tables, and if KEEP CURSOR WITH NOLOCKS is in effect, the consistency between permanent and temporary tables cannot be guaranteed between transactions.

ACTION

Revise the program to open the cursor with the KEEP CURSOR WITH LOCKS option.

2772
MESSAGE

Cursor !.!(!) containing SUBQUERY is not allowed in the REFETCH command. (DBERR 2772)

CAUSE

You attempted to perform a REFETCH on a cursor containing a subquery.

ACTION

REFETCH cannot be done on cursors containing subqueries. Either remove the subquery from the cursor, or do not perform REFETCH on that cursor.

2773
MESSAGE

Multiple-rows operation is NOT allowed in the REFETCH command. (DBERR 2773)

CAUSE

You specified more than one record in the REFETCH statement.

ACTION

Make sure to specify only one record for the REFETCH statement.

2774
MESSAGE

Escape character in LIKE pattern must be followed by escape character, underscore, or percent. (DBERR 2774)

CAUSE

There is an escape character in a LIKE predicate pattern that is not followed by an escape character, underscore, or percent.

ACTION

Change the pattern to a legal pattern.

2775
MESSAGE

Escape character must be a single character. (DBERR 2775)

CAUSE

You specified a multi-character string for the escape pattern, or passed in a host variable containing more than a single character.

ACTION

Correct the specification of the escape string to be a single character, or make sure that the host variable is set to blanks after the escape character.

2776
MESSAGE

Dynamic parameters as both operands of a single binary operator disallowed. (DBERR 2776)

CAUSE

You specified dynamic parameters for both operands of an arithmetic or comparison operator.

ACTION

Modify your statement to not specify dynamic parameters for both operands of the arithmetic or comparison operator.

2777
MESSAGE

Dynamic parameter as the operand of a unary arithmetic operator disallowed. (DBERR 2777)

CAUSE

You specified a dynamic parameter in a NULL predicate or a minus sign is specified in front of the dynamic parameter.

ACTION

Modify your statement to not contain a dynamic parameter in a NULL predicate nor a minus sign in front of a dynamic parameter.

2778
MESSAGE

Dynamic parameter in the SELECT list disallowed. (DBERR 2778)

CAUSE

You specified a dynamic parameter in the SELECT list.

ACTION

Modify your statement to not contain a dynamic parameter in a SELECT list.

2779
MESSAGE

TID data type is not supported. (DBERR 2779)

CAUSE

You specified a column of TID data type in the CREATE TABLE or ALTER TABLE statement. There is no TID data type.

ACTION

Check and modify the statement.

2780
MESSAGE

Psuedotable can not be updated. (DBERR 2780)

CAUSE

You attempted to perform an update on a system pseudotable.

ACTION

Check that the correct table name has been specified.

2781
MESSAGE

Illegal reference to TID function in group operation. (DBERR 2781)

CAUSE

Within a single query block, you cannot specify the GROUP BY clause when using the TID function in the select list.

ACTION

Check and modify the command.

2782
MESSAGE

TID function is not allowed for the pseudotable (!.!). (DBERR 2782)

CAUSE

The parameter in the TID function is a system pseudotable.

ACTION

Check and modify the command.

2783
MESSAGE

TID function is not allowed for the non-updatable view (!.!). (DBERR 2783)

CAUSE

The parameter in the TID function is not an updatable view.

ACTION

Check and modify the command.

2784
MESSAGE

DDL statement not allowed in PREPARE REPEAT command. (DBERR 2784)

CAUSE

Data definition language statements (CREATE TABLE, CREATE INDEX, DROP TABLE, etc.) are not allowed in a PREPARE command with the REPEAT option.

ACTION

Do not use the REPEAT option for DDL commands.

2785
MESSAGE

The starting position is invalid for the SUBSTRING function. (DBERR 2785)

CAUSE

The StartPosition parameter of the SUBSTRING function is less than 1 or greater than the length of the SourceString.

ACTION

Change the StartPosition parameter to a value greater than 0, and less than or equal to the length of the SourceString parameter.

2786
MESSAGE

The substring length is invalid for the SUBSTRING function. (DBERR 2786)

CAUSE

The Length parameter of the SUBSTRING function is less than 1 or greater than the length of the SourceString parameter.

ACTION

Change the Length parameter to a value greater than 0, and less than or equal to the length of the SourceString parameter.

2787
MESSAGE

Length of item ! in select list exceeds that of corresponding procedure result column. (DBERR 2787)

CAUSE

An item in the select list in a procedure SELECT statement with no INTO clause has a length greater than that specified for the corresponding procedure result column in the WITH RESULT clause of the CREATE PROCEDURE statement.

ACTION

Re-issue the CREATE PROCEDURE statement, either omitting the WITH RESULT clause, or ensuring that all multiple row result sets returned from the procedure are compatible with the format specified.

2788
MESSAGE

USING Clause is required for output dynamic parameters. (DBERR 2788)

CAUSE

You tried to execute a prepared EXECUTE PROCEDURE statement with output dynamic parameters, but no output variables were provided in the USING clause of an EXECUTE or CLOSE statement.

ACTION

Issue the EXECUTE or CLOSE statement again with the USING clause, specifying output variables for output dynamic parameters in the prepared statement.

2790
MESSAGE

CANNOT use DROP PARTITION on DEFAULT partition. (DBERR 2790)

CAUSE

You attempted to drop the DEFAULT partition.

ACTION

This partition cannot be dropped. Its partition number can be changed with the START DBE NEWLOG statement.

2791
MESSAGE

Cannot CREATE PARTITION !. (DBERR 2791)

CAUSE

You attempted to create a partition named NONE or DEFAULT. This partition name cannot be used since it refers to the nonexistent partition.

ACTION

No partition can be created with this name in the CREATE PARTITION statement.

2792
MESSAGE

Comment text for LOG COMMENT must have data type CHAR or VARCHAR. (DBERR 2792)

CAUSE

The value for a log comment was not a character value.

ACTION

Check the type of the value and be sure it is CHAR or VARCHAR.

2793
MESSAGE

Cannot LOG COMMENT when AUDIT LOG not enabled. (DBERR 2793)

CAUSE

You specified a LOG COMMENT statement in a DBEnvironment without audit logging or with audit logging disabled.

ACTION

Enable AUDIT LOG for the DBEnvironment or refrain from issuing LOG COMMENT on the DBEnvironment.

2794
MESSAGE

Cannot open log scan on AUDIT CHECKPOINT only DBEnvironment. (DBERR 2794)

CAUSE

Unable to open the log scan on the AUDIT CHECKPOINT.

ACTION

Enable AUDIT LOG for the DBEnvironment, not for AUDIT CHECKPOINT.

2800
MESSAGE

Table's language not compatible with DBE's language. (DBERR 2800)

CAUSE

The language you specified for the table is neither the same as DBEnvironment's language, nor n-computer.

ACTION

Make sure the table's language is either n-computer or the same as the DBEnvironment's language.

2801
MESSAGE

Column's language not compatible table/DBE's language. (DBERR 2801)

CAUSE

The language you specified for the column is neither table/DBEnvironment's language nor n-computer.

ACTION

Make sure the column's language is either the same as table/DBEnvironment's language or n-computer.

2802
MESSAGE

Procedure result language is not compatible with procedure/DBEnvironment language. DBERR 2802)

CAUSE

A language other than that of the DBEnvironment or n-computer was specified for a procedure result.

ACTION

Re-issue the CREATE PROCEDURE statement, either omitting the language clause, or specifying either the DBEnvironment language or n-computer.

2803
MESSAGE

Procedure language is not compatible with DBEnvironment language. (DBERR 2803)

CAUSE

The language you specified for the procedure was neither the DBEnvironment language nor n-computer.

ACTION

Issue the CREATE PROCEDURE statement again, specifying either the DBEnvironment language or n-computer for the procedure, or specifying no procedure language.

2804
MESSAGE

Parameter language is not compatible with procedure/DBEnvironment language. (DBERR 2804)

CAUSE

The language you specified for the parameter was neither the procedure/DBEnvironment language nor n-computer.

ACTION

Issue the CREATE PROCEDURE statement again, specifying either the procedure/DBEnvironment language or n-computer for the parameter, or specifying no parameter language.

2805
MESSAGE

NLINFO error !. Language ID = !. (DBERR 2805)

CAUSE

An error was returned from the NLS library routine NLINFO, with the specified language.

ACTION

Check the validity of your NLS data and reissue the statement.

2806
MESSAGE

Comment text cannot be NULL for LOG COMMENT. (DBERR 2806)

CAUSE

The value passed to a LOG COMMENT was NULL.

ACTION

Check the value and reissue the statement with a non-null value.

2807
MESSAGE

Cannot drop a non-empty partition. (DBERR 2807)

CAUSE

You issued a DROP PARTITION on a partition that currently contains tables.

ACTION

Remove the tables from the partition with the ALTER TABLE SET PARTITION statement and reissue the statement.

2808
MESSAGE

Partition ! already exists. (DBERR 2808)

CAUSE

A CREATE PARTITION attempted to create a partition with a name of a partition that is already defined.

ACTION

Reissue the CREATE PARTITION statement with another partition name or issue a DROP PARTITION to remove the existing partition and then reissue the CREATE PARTITION statement.

2809
MESSAGE

Partition ! not found. (DBERR 2809)

CAUSE

The partition name you specified by a DROP PARTITION, ALTER TABLE SET PARTITION, or CREATE TABLE statement does not exist.

ACTION

Check the partition name against the system catalog table SYSTEM.PARTITION and reissue the CREATE TABLE or ALTER TABLE SET PARTITION statement with the name of an existing partition.

2810
MESSAGE

Audit logging not set for DBE. (DBERR 2810)

CAUSE

You issued an ENABLE AUDIT LOGGING statement for the session, but audit logging is turned off for the DBEnvironment.

ACTION

Check the correctness of operations. Either audit logging for the DBEnvironment should be turned on (this may be done through the START DBE NEWLOG statement) or the ENABLE AUDIT LOGGING statement is not valid.

2811
MESSAGE

Insufficient size specified for the new SCR. (DBERR 2811)

CAUSE

Note that it is possible to change the MAXPARTITIONS parameter through the START DBE NEWLOG statement. In so doing, the product restores the current SCR slots into this new log file (the current SCR value has an image stored in the DBECon file). If the new MAXPARTITIONS specified is not large enough to contain all the occupied slots from the old SCR, this error is generated.

ACTION

Reissue the START DBE NEWLOG statement with the appropriate MAXPARTITIONS.

2812
MESSAGE

There are still some active transactions in the old SCR. (DBERR 2812)

CAUSE

You attempted a START DBE NEWLOG, and the old SCR (out of the DBECon file) still contains some active transactions. This can only happen if the database was not shut down in a manner such that all operations could be properly terminated.

ACTION

Connect to the database and release it. This allows ALLBASE/SQL to terminate any uncommitted transactions. Then you can reissue the START DBE NEWLOG statement.

2813
MESSAGE

More than one slot found for the same partition. (DBERR 2813)

CAUSE

The partition was specified twice when opening a log scan.

ACTION

Eliminate the duplication.

2814
MESSAGE

Open_Log_Scan failed on ALL specified partitions. (DBERR 2814)

CAUSE

Check the per partition return codes.

ACTION

Use the per partition return code information to determine your action.

2815
MESSAGE

Hard resync record encountered in partition !. Scan aborted. (DBERR 2815)

CAUSE

The master and slave databases are inconsistent.

ACTION

Resync the indicated partition.

2816
MESSAGE

Open_Log_Scan could not reserve log for partitions found. (DBERR 2816)

CAUSE

The specified starting point for opening a log scan has been overwritten.

ACTION

Use a Wrapper DBE to recover the needed log records or hard resync the partition.

2817
MESSAGE

Invalid audit log record found. (DBERR 2817)

CAUSE

The log record being applied in an Apply_Log was not a valid audit log record.

ACTION

The log records being applied in an Apply_Log command must have come from an Transmit_Log from a master instance. Check your application to make sure that the log records from the Transmit_Log are being passed appropriately to the Apply_Log according to the External Specifications.

2818
MESSAGE

Apply_Log cannot find the tuple to be modified/deleted. (DBERR 2818)

CAUSE

The master and slave databases are not synchronized.

ACTION

Perform a hard resync.

2819
MESSAGE

Attempting to apply a log record while audit is not enabled. (DBERR 2819)

CAUSE

The architecture of Apply_Log requires audit to be turned on at the slave (target).

ACTION

Use SQLUTIL (SHOWDBE) to check the startup parameters, and turn audit on (through a START DBE NEWLOG) if necessary.

2820
MESSAGE

Audit parameters not set. (DBERR 2820)

CAUSE

You tried to use audit logging without setting all of the required parameters.

ACTION

Check that the AUDIT NAME, DEFAULT PARTITION, and MAXPARTITIONS are all set in the DBEnvironment, or set them (through a START DBE NEWLOG) if necessary.

2821
MESSAGE

Active transactions found on partition !. (DBERR 2821)

CAUSE

An attempt is being made to hard resync an active partition.

ACTION

Terminate access to the partition and redo the hard resync.

2822
MESSAGE

Duplicate partition instance found in SCR array. (DBERR 2822)

CAUSE

The duplicate partition instance (PID/DBID) was found in the SCR array passed to modify SCR.

ACTION

Eliminate the duplicates and try again.

2823
MESSAGE

Open log scan failed due to missing log file (sequence #!). (DBERR 2823)

CAUSE

A log needed for the log scan being opened has been purged.

ACTION

For a resync application, perform a hard resync. Auditing cannot be done.

2824
MESSAGE

More than one tuple qualified for key column search. (DBERR 2824)

CAUSE

Multiple tuples found during Apply_Log with key column search enabled.

ACTION

Try the Apply_Log with key column search disabled.

2825
MESSAGE

Timeout expired (! seconds). (DBERR 2825)

CAUSE

A request for a database resource, such as a lock, could not be granted before the user timeout was exceeded. The current transaction was rolled back.

ACTION

Retry the transaction when the requested resource becomes available, or increase the user timeout value.

2826
MESSAGE

Insufficient number of transactions. (! is required) (DBERR 2826)

CAUSE

An attempt to start the DBE with the maximum allowable transactions less than or equal to the number of persistent transactions currently present in the DBE.

ACTION

Specify a larger number of transactions to start the DBE.

2827
MESSAGE

The function was invoked in an improper context. (DBERR 2827)

CAUSE

An XA function has been invoked in an invalid context.

ACTION

Correct the context and try again.

2828
MESSAGE

Comment is disallowed. (DBERR 2828)

CAUSE

An attempt was made to log a comment for a transaction that is already persistent.

ACTION

Retry the function without a comment.

2829
MESSAGE

Blocking condition exists. (DBERR 2829)

CAUSE

A transaction join was attempted with the nowait option specified. The function would have had to wait.

ACTION

Try again later or remove the nowait option.

2830
MESSAGE

Duplicate global transaction identifier. (DBERR 2830)

CAUSE

Attempted to start a transaction with a global identifier that already exists.

ACTION

Try again with a unique GTRID.

2831
MESSAGE

The global transaction identifier is unknown. (DBERR 2831)

CAUSE

The specified global transaction identified does not exist in the DBE.

ACTION

Check the validity of the GTRID.

2832
MESSAGE

A transaction scan is already opened. (DBERR 2832)

CAUSE

An attempt was made to open a recovery scan when was already open. A session can have only one open recovery scan.

ACTION

Close the open scan before opening another.

2833
MESSAGE

A transaction scan is not opened. (DBERR 2833)

CAUSE

A recovery scan is required for the requested function, but one is not open.

ACTION

Open a recovery scan and try again.

2834
MESSAGE

The transaction has already been heuristically committed. (DBERR 2834)

CAUSE

A request was made to commit or abort a transaction that has already been heuristically committed.

ACTION

None.

2836
MESSAGE

Timeout. (DBERR 2836)

CAUSE

The requested function has timed out waiting for access to a transaction.

ACTION

Try again when the transaction is available.

2837
MESSAGE

The global transaction identifier is invalid. (DBERR 2837)

CAUSE

The specified global transaction id has an invalid format.

ACTION

Check the GTRID.

3228
MESSAGE

Log lock point specified is invalid. (DBERR 3228)

CAUSE

The log location specified for a log lock is invalid.

ACTION

Check the location.

2881
MESSAGE

Cannot drop ! default DBEFileSet !. (DBERR 2881)

CAUSE

You have the space default on the DBEFileSet you tried to drop.

ACTION

Change the space default or modify your command.

2882
MESSAGE

Cannot revoke ! default on DBEFileSet ! from !. (DBERR 2882)

CAUSE

The authority you tried to revoke is a DEFAULT for the user.

ACTION

Change the space default or modify your command.

2884
MESSAGE

User ! does not have explicit ! authority on DBEFileSet !. (DBERR 2884)

CAUSE

The authority is not previously granted to you.

ACTION

Cannot REVOKE, please modify the command.

2885
MESSAGE

! on DBEFileSet ! is not granted for !. (DBERR 2885)

CAUSE

The authority is not previously granted to you.

ACTION

You must grant the authority to the user before you run the command.

2901
MESSAGE

Multiple rows returned in subquery. (DBERR 2901)

CAUSE

A subquery within a comparison predicate returns more than one row. Comparison predicates can only work with single values.

ACTION

For a subquery that returns more than one value, the EXISTS predicate, IN predicate, or one of the quantified predicates (SOME, ALL, ANY) must be used.

2902
MESSAGE

Multiple columns returned in subquery. (DBERR 2902)

CAUSE

You specified more than one column in the select list of a subquery. If an asterisk was specified, there was more than one column in the table being queried. Only the EXISTS predicate allows more than one column to be specified in a subquery.

ACTION

Change the subquery so that only one column is specified in the select list.

2909
MESSAGE

Number of output variables does not match the number of output dynamic parameters in the referenced section. (DBERR 2909)

CAUSE

The number of output values in the USING clause of an EXECUTE or CLOSE statement is not equal to the number of output dynamic parameters in the prepared statement.

ACTION

Modify either your EXECUTE or CLOSE statement or the related PREPARE statement so that there is a one to one mapping of output dynamic parameters.

2910
MESSAGE

Number of input values does not match the number of dynamic parameters in the referenced section. (DBERR 2910)

CAUSE

The number of input values in the USING clause of an OPEN or EXECUTE statement is not equal to the number of dynamic parameters in the prepared statement.

ACTION

Modify either your OPEN or EXECUTE statement or the related PREPARE statement so that there is a one to one mapping of dynamic parameters.

2912
MESSAGE

Incompatible conversion from ! to ! for the dynamic parameter (!). (DBERR 2912)

CAUSE

The data type of the input value in the USING clause of an OPEN or EXECUTE statement is not compatible with the default data type of the dynamic parameter in the prepared statement.

ACTION

Modify the data type of the referenced input value to be compatible with the default data type of the corresponding dynamic parameter.

2913
MESSAGE

Invalid conversion from ! to ! for the dynamic parameter (!). (DBERR 2913)

CAUSE

You attempted an invalid conversion from one specified type to another.

ACTION

Refer to the "CAST Function" in the "Expressions" chapter of the ALLBASE/SQL Reference Manual for the correct conversion types.

2914
MESSAGE

Invalid conversion from DECIMAL (!,!) to DECIMAL (!,!) for the dynamic parameter (!). (DBERR 2914)

CAUSE

The value length, precision, or scale of the decimal value you specified in the USING clause of an OPEN or EXECUTE statement is greater than that of the data type of the corresponding dynamic parameter in the prepared statement.

ACTION

Modify the referenced decimal input value to be compatible with the corresponding dynamic parameter.

2915
MESSAGE

Invalid conversion from !(!) to !(!) for the dynamic parameter (!). (DBERR 2915)

CAUSE

The length of the input value you referenced in the USING clause of an OPEN or EXECUTE statement is greater than the length of the data type of the corresponding dynamic parameter in the prepared statement.

ACTION

Modify the definition of the referenced input value to be compatible in length with the corresponding dynamic parameter.

2916
MESSAGE

Invalid Table/View/Column in the dynamic format computation. (DBERR 2916)

CAUSE

A dynamic parameter is associated with an invalid table, view, or column in the statement. Its format cannot be determined.

ACTION

Check that the query references existing tables, views, and columns you are authorized to access and reissue the statement.

2917
MESSAGE

No corresponding column for the dynamic parameter. (DBERR 2917)

CAUSE

A dynamic parameter in the VALUE clause of an INSERT statement has no corresponding column.

ACTION

Check that the number of columns in the INSERT matches the number of values specified, and reissue the statement.

2918
MESSAGE

Using Clause is required for the input dynamic parameters. (DBERR 2918)

CAUSE

You attempted to issue an OPEN or EXECUTE statement on a section that contains dynamic parameters without passing the values for the dynamic parameters via the USING clause.

ACTION

Add a USING clause to the statement and provide values for the dynamic parameters with the USING clause.

2919
MESSAGE

An invalid NLS data was encountered. (DBERR 2919)

CAUSE

NLS data is invalid.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

2920
MESSAGE

SQLCORE encountered error from (!) (!). (DBERR 2920)

CAUSE

SQLCORE has an error from the above routine.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

2921
MESSAGE

Integer or float overflow or underflow on operation ADD. (DBERR 2921)

CAUSE

The result of an addition operation with INTEGER or FLOAT operands is either too big or too small for the hardware to accommodate.

ACTION

Modify the expression to yield a result within the limits for the data type.

2922
MESSAGE

PUBLICROW is not allowed on a hash table. (DBERR 2922)

CAUSE

You are trying to define a hash on a PUBLICROW table, and this combination is not supported.

or

You are trying to alter a hash table to type PUBLICROW, but this combination is not supported

ACTION

Either use a table type of PUBLIC as you define the hash structure, or else convert to a non-hash PUBLICROW table by dropping and recreating the table.

3001
MESSAGE

Invalid ALLBASE/SQL request block. (DBERR 3001)

CAUSE

Internal error. The ALLBASE/SQL request block has an invalid brand name in its first field. This could be caused by an invalid request block pointer.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3002
MESSAGE

Invalid parameter-buffer flag in ALLBASE/SQL request block. (DBERR 3002)

CAUSE

Internal error. The ALLBASE/SQL request block (JRB) has an invalid value for input parameter buffer flag. There is a discrepancy between a module in the program and the stored module.

ACTION

If you moved a modified program to your DBEnvironment you must drop the old module and reinstall a new module,

or

don't use ISQL to execute a module created with a preprocessor

or

record as much information as possible and contact your HP service representative or Response Center.

3003
MESSAGE

Invalid parameter-buffer address in ALLBASE/SQL request block. (DBERR 3003)

CAUSE

Internal error. The ALLBASE/SQL request block (JRB) has an invalid pointer pointing to a parameter buffer.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3004
MESSAGE

Invalid parameter-buffer length in ALLBASE/SQL request block. (DBERR 3004)

CAUSE

Internal error. ALLBASE/SQL request block (JRB) has an invalid parameter buffer length.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3005
MESSAGE

Invalid data-buffer flag in ALLBASE/SQL request block. (DBERR 3005)

CAUSE

Internal error. ALLBASE/SQL request block (JRB) has an invalid data-buffer flag.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3006
MESSAGE

Invalid data-buffer address in ALLBASE/SQL request block. (DBERR 3006)

CAUSE

The SQLRowBuf was set to an invalid address for a dynamic query

or

an internal error occurred.

ACTION

Correct the SQLRowBuf and re-preprocess your program

or

record as much information as possible and contact your HP Service Representative or Response Center.

3007
MESSAGE

Invalid data-buffer length in ALLBASE/SQL request block. (DBERR 3007)

CAUSE

SQLBufLen was set to an invalid length for a dynamic query

or

an internal error occurred.

ACTION

Correct the SQLBufLen and re-preprocess your program

or

record as much information as possible and contact your HP Service Representative or Response Center.

3008
MESSAGE

Invalid number of rows requested in ALLBASE/SQL request block. (DBERR 3008)

CAUSE

SQLNRows was set to an invalid number for a dynamic query

or

an internal error occurred.

ACTION

Correct SQLNRows and re-preprocess your program

or

record as much information as possible and contact your HP Service Representative or Response Center.

3024
MESSAGE

Column number ! in node ! out of range. (DBERR 3024)

CAUSE

Internal error.

ACTION

Record as much information as possible and contact your HP service representative or Response Center.

3025
MESSAGE

Null length of ! for value ! is invalid. (DBERR 3025)

CAUSE

Internal error.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3026
MESSAGE

Unsupported data format of type ! length !. (DBERR 3026)

CAUSE

Internal error. ALLBASE/SQL detected an unsupported data type or invalid data length.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

3040
MESSAGE

Command rejected - DBCore was terminated. (DBERR 3040)

CAUSE

Your database administrator issued a STOP DBE statement causing your transaction to be terminated.

ACTION

Contact your database administrator to find out when the DBEnvironment will be available.

3041
MESSAGE

Command rejected - DBCore is terminating now. (DBERR 3041)

CAUSE

Your database administrator issued a STOP DBE statement causing the DBEnvironment to shut down.

ACTION

Contact your database administrator to find out when the DBEnvironment will be available.

3042
MESSAGE

Command rejected - User session was terminated. (DBERR 3042)

CAUSE

Your database administrator or another user connected to the DBEnvironment using your login name issued a TERMINATE USER statement for your login name. Any active transactions for your login name were terminated.

ACTION

Contact the person who issued the TERMINATE USER statement and reconnect to the DBEnvironment.

3043
MESSAGE

Command rejected - User session is terminating now. (DBERR 3043)

CAUSE

Your database administrator or another user connected to the DBEnvironment issued a TERMINATE USER statement for your login name. Any active transactions for your login name were terminated.

ACTION

Contact the person who issued the TERMINATE USER statement and reconnect to the DBEnvironment.

3047
MESSAGE

Number of query sections exceeds system limit !. (DBERR 3047)

CAUSE

The number of PREPARE commands exceeded system limit per session.

ACTION

Keep the number of PREPARE commands within the limit.

3050
MESSAGE

File System Error - Privileged file violation. (DBERR 3050)

CAUSE

The ownership or file mode of a database or log file, or the directory that contains the file, is incorrect.

ACTION

Check that user hpdb (uid 27) has at least read and write permission to the directories that contain the database and log files. Check that all database and log files are owned by hpdb, and have a file mode of 600 (- r w - - - - - - -). If necessary, contact your system administrator.

3051
MESSAGE

File System Error - Not enough space in device. (DBERR 3051)

CAUSE

There is not enough space in the device to support your operation.

ACTION

Use a different device or contact your database administrator to add more space to the current device.

3054
MESSAGE

File System Error - Nonexistent DBEFile or log file. (DBERR 3054)

CAUSE

You attempted to access a DBEFile or log file which is missing.

ACTION

Use the SQLUtil SHOWDBE command and/or SELECT information from SYSTEM.DBEFILE to find out the names of DBEFile0, DBELog and other DBEFiles. Make sure they co-exist with your DBECon file.

3059
MESSAGE

File System Error - Security violation. (DBERR 3059)

CAUSE

The ownership or file mode of the DBEFile or executable program files (SQLUtil or hpsqlproc) is incorrect. (hpsqlproc is a process invoked whenever ISQL, the preprocessors, or application programs are executed.)

ACTION

Refer to the ALLBASE/SQL Database Administration Guide for additional information.

3060
MESSAGE

File System Error - File already exists or file does not have the permission expected by ALLBASE/SQL. (DBERR 3060)

CAUSE

The file name you specified in the CREATE DBEFILE statement already exists, or the file does not have the permissions expected by ALLBASE/SQL.

ACTION

If you are using HP-UX raw files for DBEFiles and logs, you must set the permissions to mode 0600 for the raw file. Any other mode will cause this error.

3061
MESSAGE

File System Error - ! (!). (DBERR 3061)

CAUSE

An HP-UX file system error occurred.

ACTION

Refer to the system administration manual.

3062
MESSAGE

Location already used for another Tempspace. (DBERR 3062)

CAUSE

The physical location you specified by the CREATE TEMPSPACE statement is already being used for another tempspace.

ACTION

Issue the CREATE TEMPSPACE statement again with a different physical location. Or, execute the DROP TEMPSPACE statement to remove the original tempspace from the physical location, and issue the CREATE TEMPSPACE statement again.

3063
MESSAGE

DBECon Error - Cannot use CONNECT command with autostart off. (DBERR 3063)

CAUSE

You tried to initiate a single-user session with the CONNECT statement and the autostart flag is OFF.

ACTION

Either use the START DBE statement to initiate the session or ask your database administrator to change the autostart flag to ON.

3064
MESSAGE

DBECon Error - This DBEnvironment does not have !. (DBERR 3064)

CAUSE

You tried to CONNECT to a DBEnvironment which is not an ALLBASE/SQL DBEnvironment.

ACTION

No action is necessary. You can only CONNECT to an ALLBASE/SQL DBEnvironment.

3065
MESSAGE

DBECon Error - User attempted NEWLOG and is not creator of DBECon file. (DBERR 3065)

CAUSE

You attempted to execute the START DBE NEWLOG statement and you are not the creator of the specified DBEnvironment.

ACTION

Contact your database administrator to find out who the DBECreator is and have the DBECreator issue the appropriate command.

3066
MESSAGE

DBECon Error - File is invalid. (DBERR 3066)

CAUSE

The file specified is not a DBECon file.

ACTION

Check your spelling. Issue the command again, specifying a valid DBECon file.

3068
MESSAGE

DBECon Error - Not enough space in device. (DBERR 3068)

CAUSE

There is not enough space in the device to support your operation.

ACTION

Use a different device or contact your database administrator to add more space to the current device.

3071
MESSAGE

DBECon Error - Nonexistent file name. (DBERR 3071)

CAUSE

You specified a non-existent file name on the local node in the START DBE or CONNECT statement. This message may be the first of two messages received. ALLBASE/SQL attempted a remote connection but was unsuccessful.

ACTION

If your CONNECT statement is for a DBEnvironment on the local node, check your spelling. If you still receive this error, use the HP-UX ls command to make sure that the file really exists in your current working directory. If your CONNECT statement is for a remote DBEnvironment, read the second message for further action to be taken.

3076
MESSAGE

DBECon Error - Security violation. (DBERR 3076)

CAUSE

The ownership or file mode of the DBECon file or the directory that contains the DBECon file is incorrect.

ACTION

Check that user hpdb (uid 27) has at least read and write permission to the directory that contains the DBECon file. Check that the DBECon files is owned by hpdb, and has a file mode of 600 (- r w - - - - - - -). If necessary, contact your system administrator. Refer to the ALLBASE/SQL Database Administration Guide for additional information.

3077
MESSAGE

DBECon Error - File already exists. (DBERR 3077)

CAUSE

The file name you specified already exists.

ACTION

Issue the command again, specifying a unique file name.

3078
MESSAGE

DBECon Error - (! !). (DBERR 3078)

CAUSE

An HP-UX file system error occurred on the DBECon file.

ACTION

Refer to the system administration manual.

3079
MESSAGE

DBECon error - Permission denied. (DBERR 3079)

CAUSE

The DBECon file is inaccessible because: the owner or access mode of the DBECon file have been changed (the owner should be 'hpdb', and the access mode should be 600)

or

the owner or access mode of the database process /usr/lib/hpsqlproc have been changed (the owner should be 'hpdb', and the access mode should be 4555).

ACTION

Use the chmod and / or chown commands to restore the correct owner and access mode to the DBECon file.

or

Contact your system administrator.

3080
MESSAGE

DBECon error - Attempted a MULTI user session on a SINGLE user DBEnvironment. (DBERR 3080)

CAUSE

You tried to initiate a multi-user session on a single user DBEnvironment

or

your database administrator has started the DBEnvironment in single-user mode in order to make changes through SQLUtil.

ACTION

Ask your database administrator to change the DBECon file user mode to MULTI or ask your database administrator to notify you when the DBEnvironment is again accessible in multi-user mode.

3086
MESSAGE

DBECon Error - File is NFS mounted. (DBERR 3086)

CAUSE

You attempted to create or access a DBEnvironment on an NFS mounted disk.

ACTION

To create the DBEnvironment, log onto the server where the DBEnvironment will reside. Install ALLBASE/NET to access the remote DBEnvironment.

3087
MESSAGE

DBECon Error - File mounted on another node in the cluster. (DBERR 3087)

CAUSE

You attempted to create or access a DBEnvironment on a disk in the cluster that is not mounted locally.

ACTION

To create the DBEnvironment, log onto the system on which the disk is mounted locally. Install ALLBASE/NET to access the remote DBEnvironment.

3088
MESSAGE

MOVEFILE cannot be used to move DBECon. (DBERR 3088)

CAUSE

You tried to move the DBECon file using the MOVEFILE statement.

ACTION

The DBECon file stores the start up parameters for the DBEnvironment defined by the START DBE NEW statement and must remain in the same location as the DBEnvironment.

3100
MESSAGE

COMMIT ARCHIVE attempt was not preceded by a successful BEGIN ARCHIVE. (DBERR 3100)

CAUSE

Some user has already got a BEGIN ARCHIVE in progress, and some other user attempts to COMMIT ARCHIVE. This is illegal.

ACTION

Refrain from performing a COMMIT ARCHIVE if you were not the one to have a BEGIN ARCHIVE in the first place.

3101
MESSAGE

START DBE NEWLOG disallowed. Need rollforward recovery. (DBERR 3101)

CAUSE

You are most probably trying a START DBE NEWLOG on a DBEnvironment that has incomplete transactions in its log. The only operations permitted are START DBE or CONNECT (if AutoStart is enabled); either of these will roll back incomplete transactions and force completed transactions to disk.

ACTION

First, issue a START DBE statement or a CONNECT (if AutoStart is enabled). Next, stop the DBEnvironment. Finally, attempt the START DBE NEWLOG again.

3102
MESSAGE

START DBE disallowed. Need rollforward recovery. (DBERR 3102)

CAUSE

The DBEnvironment is still in a fuzzy state. Either you are attempting a START DBE or START DBE NEWLOG on a restored version of an online backup of the DBEnvironment, OR you have performed some but not all the necessary rollforward recovery on this DBEnvironment.

ACTION

Check the previous rollforward steps if any. Perform as many RECOVERLOG steps with as many logs as necessary to reach the matching COMMIT ARCHIVE point in the log file.

3103
MESSAGE

There are no more logs to switch to. (DBERR 3103)

CAUSE

This is different from a log full condition. Essentially, if the user attempts to overwrite an archive checkpoint, DBCore will first try to switch to the next log. If this operation fails, the above error is generated.

ACTION

Check to see if indeed an attempt was made to overwrite an existing archive checkpoint. If the need is genuine, use the ADDLOG command in SQLUtil to add one or more new logs.

3106
MESSAGE

START DBE disallowed: DBEnvironment points to a wrong log file. (DBERR 3106)

CAUSE

You did not follow your static restore of a DBEnvironment with the NEWLOG command.

ACTION

Restore DBEnvironment again and perform a NEWLOG command.

3200
MESSAGE

Invalid LONG column I/O syntax. (DBERR 3200)

CAUSE

You specified a long column input or output target which is not correct.

ACTION

Check the > or < I/O redirection syntax.

3201
MESSAGE

Invalid LONG column file name. (DBERR 3201)

CAUSE

The file name is incorrect.

ACTION

Refer to A Beginner's Guide to HP-UX for file naming conventions.

3204
MESSAGE

LONG column file path length too long. ! maximum. (DBERR 3204)

CAUSE

The pathname exceeds the maximum length allowed.

ACTION

Shorten the pathname.

3205
MESSAGE

LONG column file access error in module !(!), status code !. (DBERR 3205)

CAUSE

There is a problem with the file used as the input or output device in a LONG column operation. Either the file does not exist, cannot be read, or cannot be written to.

ACTION

Ensure that the file exists and has the appropriate permissions.

3206
MESSAGE

LONG column file already exists. (DBERR 3206)

CAUSE

The output file exists but the OVERWRITE option was not specified.

ACTION

Remove the file or add the OVERWRITE option.

3207
MESSAGE

LONG column shared memory failed. (DBERR 3207)

CAUSE

The shared memory id cannot be attached. The shared memory id may be missing or is incorrect.

ACTION

Verify that you are using the correct shared memory id. Use the ipcs command to double-check the allocated shared memory.

3208
MESSAGE

LONG columns exceed maximum 40 columns. (DBERR 3208)

CAUSE

You entered more than 40 LONG columns.

ACTION

Reduce the number of LONG columns.

3210
MESSAGE

Negative length value not allowed for LONG column INSERT. (DBERR 3210)

CAUSE

You specified a negative value for the length of the long value to be read from the shared memory.

ACTION

Remove the unary minus sign from the length specification and reissue the statement.

3211
MESSAGE

Length specified is greater than allowed. (DBERR 3211)

CAUSE

The length of the long value to be read from the shared memory is too large.

ACTION

Specify a shorter length for the shared memory and reissue the statement.

3220
MESSAGE

LONG column disallowed from remote access. (DBERR 3220)

CAUSE

You tried to access a long column on another machine.

ACTION

This feature is not supported yet.

3221
MESSAGE

LONG column disallowed on ORDER BY/DISTINCT/UNION. (DBERR 3221)

CAUSE

You tried to use an ORDER BY, DISTINCT or UNION on a column defined as a long data type.

ACTION

Remove the long column from ORDER BY, DISTINCT or UNION clause.

3222
MESSAGE

LONG column disallowed on GROUP BY. (DBERR 3222)

CAUSE

You tried to use the GROUP BY clause with a column defined as a long data type.

ACTION

Remove the long column from the GROUP BY clause.

3223
MESSAGE

LONG column disallowed on Expression. (DBERR 3223)

CAUSE

You tried to use an expression with a column that has been defined as a long data type.

ACTION

Remove the long column from the expression.

3224
MESSAGE

LONG column disallowed on INDEX. (DBERR 3224)

CAUSE

You tried to create an index on a column defined as a long data type.

ACTION

Remove the long column from the column list in the CREATE INDEX statement.

3225
MESSAGE

LONG column disallowed on HASH. (DBERR 3225)

CAUSE

You tried to specify a hash structure on a column that has been defined as a long data type.

ACTION

Remove the UNIQUE HASH clause from the CREATE TABLE syntax, or the long column from the UNIQUE HASH clause.

3226
MESSAGE

LONG column disallowed on INSERT from SELECT. (DBERR 3226)

CAUSE

You tried to insert a column defined as a long data type in a type II INSERT statement.

ACTION

Remove the long column from the SELECT clause in the INSERT statement.

3227
MESSAGE

Long fields cannot be replicated. (DBERR 3227)

CAUSE

You attempted to replicate a long data type field.

ACTION

Remove the long column from the replicate statement.

3228
MESSAGE

Log lock point specified is invalid. (DBERR 3228)

CAUSE

An invalid log lock point was specified.

ACTION

Change to a valid log lock point.

3241
MESSAGE

Invalid node type ! not allowed inside atomic block. (DBERR 3241)

CAUSE

The specified node type is not valid inside an atomic block.

ACTION

Change to a valid node type.

3242
MESSAGE

Atomic block does not exist while requesting end atomic operation. (DBERR 3242)

CAUSE

There is an end for an atomic operation without it being started.

ACTION

Correct the atomic block commands.

3244
MESSAGE

Execution failed causing rollback work inside atomic block. (DBERR 3244)

CAUSE

The execution failed within an atomic block.

ACTION

Review the commands within the atomic block and correct the problem.

3245
MESSAGE

Atomic block started already. Nested atomic block is not allowed. (DBERR 3245)

CAUSE

You have specified a nested atomic block.

ACTION

Remove the nested atomic block.

3248
MESSAGE

Incorrect data type declared for input/output parameter. (DBERR 3248)

CAUSE

The input or output parameter has an incorrect data type.

ACTION

Change to the correct data type.

3300
MESSAGE

DBEFile ! is currently DETACH-ed. (DBERR 3300)

CAUSE

You attempted to DETACH an already DETACHed DBEFile.

ACTION

None.

3301
MESSAGE

Attempting to ATTACH an already attached DBEFile !. (DBERR 3301)

CAUSE

You attempted to ATTACH an already ATTACHed DBEFile.

ACTION

None.

3302
MESSAGE

Cannot DETACH the SYSTEM DBEFileset or any DBEFile in it. (DBERR 3302)

CAUSE

You attempted to DETACH a SYSTEM DBEFileset or a DBEFile in the SYSTEM DBEFileset.

ACTION

If the reason for DETACHment is media failure, perform a complete rollforward recovery.

3303
MESSAGE

DBEFileset ! is currently DETACH-ed. (DBERR 3303)

CAUSE

You attempted to DETACH an already DETACHed DBEFileset.

ACTION

None.

3304
MESSAGE

Attempting to ATTACH an already attached DBEFileset !. (DBERR 3304)

CAUSE

You attempted to ATTACH an already ATTACHed DBEFileset.

ACTION

None.

3305
MESSAGE

Cannot DROP DBEFile ! while online backup is in progress. (DBERR 3305)

CAUSE

You attempted to DROP a DBEFile after the online backup has started, but before it has finished.

ACTION

Wait until the online backup completes and resubmit the command.

3306
MESSAGE

Attempting to access DBEFile ! which is currently DETACH-ed.(DBERR 3306)

CAUSE

You attempted to read/write data from a detached DBEFile.

ACTION

ATTACH a DBEFile (partial or full rollforward recovery may be needed before ATTACHing), and restart the transaction.

3307
MESSAGE

Cannot partially rollforward the SYSTEM DBEFileset or any DBEFile in it. (DBERR 3307)

CAUSE

You attempted to perform a partial rollforward on the SYSTEM.DBEFileSet or a DBEFile in the SYSTEM DBEFileSet.

ACTION

Perform a complete rollforward recovery.

3308
MESSAGE

OMNIBACK error !. (DBERR 3308)

CAUSE

OMNIBACK has encountered some problem trying to store/restore DBEnvironment file(s).

ACTION

Please refer to the OMNIBACK manual.

3309
MESSAGE

DBECreator ! does not exist on the system. (DBERR 3309)

CAUSE

The DBECreator named does not exist on the system.

ACTION

Use a correct DBECreator name for this system.

3310
MESSAGE

Cannot specify pseudo-mapped access for DBECon or DBEFile0. (DBERR 3310)

CAUSE

Pseudo-mapped was specified for DBECon or DBEFile0. They cannot be pseudo-mapped.

ACTION

Remove pseudo-mapping from the DBECon or DBEFile0 file.

3311
MESSAGE

Command disallowed: user not DBECreator or does not have maintenance word. (DBERR 3311)

CAUSE

You are not the creator of the DBEnvironment, or the maintenance word was not supplied.

ACTION

Log on as DBECreator, or supply the maintenance word.

3500
MESSAGE

Maximum IMAGESQL DBEFILESET can not exceed ! pages. (DBERR 3500)

CAUSE

You attempted to add a DBEFile to IMAGESQL DBEFileSet which would cause the DBEFileSet to exceed its maximum size.

ACTION

Add a DBEFile which does not violate the maximum number of pages with IMAGESQL DBEFileSet.

3501
MESSAGE

Grant TABLESPACE on ! DBEFILESET is not allowed. (DBERR 3501)

CAUSE

You attempted to modify default table space. This command is not allowed for users without ALLBASE/SQL license.

ACTION

No action.

3550
MESSAGE

!.!(!) is not a permanent section or it is a procedure. (DBERR 3550)

CAUSE

You attempted to EXTRACT a section which is not a permanent section, or it is a procedure.

ACTION

EXTRACT a section which is a permanent section and it is not a procedure.

3551
MESSAGE

TBL of ! is needed to EXTRACT !.!(!). (DBERR 3551)

CAUSE

The tuple buffer length is too small for the linear tree.

ACTION

EXTRACT the section with larger buffer.

3552
MESSAGE

Section !.!(!) is a view. (DBERR 3552)

CAUSE

The specified section is a view. Views can not be extracted.

ACTION

No action.

4000
MESSAGE

ALLBASE/SQL code buffer overflow at !. Query aborted. (DBERR 4000)

CAUSE

ALLBASE/SQL internal code buffer overflow. Input command was too long or too complicated.

ACTION

Try to simplify the input command.

4001
MESSAGE

ALLBASE/SQL static buffer overflow at !. Query aborted. (DBERR 4001)

CAUSE

ALLBASE/SQL internal static buffer overflow. Input command was too long or too complicated.

ACTION

Try to simplify the input command.

4002
MESSAGE

ALLBASE/SQL module buffer overflow at !. Query aborted. (DBERR 4002)

CAUSE

ALLBASE/SQL internal module buffer overflow. The executable tree for the module was too long.

ACTION

Try to simplify the input command by breaking up your large query into multiple queries.

4003
MESSAGE

ALLBASE/SQL max query buffers exceeded. Query aborted. (DBERR 4003)

CAUSE

ALLBASE/SQL internal query buffer overflow. Input command was too long or too complicated.

ACTION

Try to simplify the input command. Refer to base tables instead of to views as much as possible.

4004
MESSAGE

ALLBASE/SQL input heap overflow at ! - Query aborted. (DBERR 4004)

CAUSE

ALLBASE/SQL internal input heap overflow. Input command was too long or too complicated.

ACTION

Try to simplify the input command. Reduce the amount of table and column qualifications as much as possible. If necessary, record as much information as possible and contact your HP Service Representative or Response Center.

4005
MESSAGE

ALLBASE/SQL memory allocation failed. (DBERR 4005)

CAUSE

ALLBASE/SQL cannot allocate run-time memory. This may be an internal ALLBASE/SQL problem or an operating system problem.

ACTION

The requested operation cannot be performed. Try starting the database later, issuing the problem operation earlier in the session. Report this problem to your database administrator and system administrator.

4006
MESSAGE

ALLBASE/SQL memory deallocation failed. (DBERR 4006)

CAUSE

ALLBASE/SQL cannot deallocate (return for re-use) run-time memory. This may be an internal ALLBASE/SQL or an operating system problem.

ACTION

After this error occurs, you may continue normal processing. The problem becomes a serious one when a long session eventually uses up all space and can not obtain any more space. Report this problem to your database administrator and system administrator.

4007
MESSAGE

ALLBASE/SQL UPDATE STATISTICS ! mismatch with DBCore. (DBERR 4007)

CAUSE

Internal error.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

4008
MESSAGE

ALLBASE/SQL shared memory lock allocation failed in DBCore. (DBERR 4008)

CAUSE

ALLBASE/SQL ran out of run-time control block space. Your transaction was rolled back.

ACTION

In multi-user mode, try your query again later

or

issue the ALTDBE command in SQLUtil to increase the number of control block pages

or

use LOCK TABLE so that individual pages are not locked

or

you may be able to use BEGIN WORK CS or BEGIN WORK RU to prevent this error.

4009
MESSAGE

ALLBASE/SQL shared memory allocation failed in DBCore. (DBERR 4009)

CAUSE

ALLBASE/SQL ran out of run-time control block space. Your transaction was rolled back.

ACTION

In multi-user mode, try your query again later

or

issue the ALTDBE command in SQLUtil to increase the number of control block pages

or

use LOCK TABLE so that individual pages are not locked

or

you may be able to use BEGIN WORK CS or BEGIN WORK RU to prevent this error.

4010
MESSAGE

ALLBASE/SQL lock limit for session exceeded. (DBERR 4010)

CAUSE

The total number of locks currently in place for your user session is at the limit specified in the hpsqldebug environment variable.

ACTION

Either delete the environment variable or else set it to a higher value.

4012
MESSAGE

ALLBASE/SQL pseudocode error. (DBERR 4012)

CAUSE

Internal error. ALLBASE/SQL opcode is invalid.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

4013
MESSAGE

ALLBASE/SQL tmp buffer overflow at !. Query aborted. (DBERR 4013)

CAUSE

A temporary, internal SQL buffer overflowed.

ACTION

Record as much information as possible and contact your HP Service Representative or Response Center.

Feedback to webmaster