Macros
dberrs.h File Reference

Go to the source code of this file.

Macros

#define RETURN_TO_CONT   5000 /* "Return to Continue" */
 
#define DB_SUCCESS   5001 /* normal successful completion */
 
#define FILTER_STATUS   5002 /* fence filter status */
 
#define ROW_DELETED   5003 /* row deleted in element deletion */
 
#define LINKAGE_MODE   5004 /* linkage mode string */
 
#define ON_STRING   5005 /* "On" */
 
#define OFF_STRING   5006 /* "Off" */
 
#define NONE_STRING   5007 /* "NONE" */
 
#define DELETE_ENTITY   5008 /* "Delete Entity: " */
 
#define KEYIN_PROCESSED   5009 /* keyin processed */
 
#define DATABASE_NAME   5010 /* database name */
 
#define DATA_RESET   5011 /* Data to Accept/Reset to Continue */
 
#define PROCESSING_REQUEST   5012 /* Processing database request */
 
#define BUILDING_AE_TABLE   5013 /* Building AE table... */
 
#define NULL_MESSAGE   5016 /* empty string */
 
#define PROCESSING_TABLE   5018 /* Processing table */
 
#define CONFIRMATION_MODE   5020 /* SET CONFIRM mode */
 
#define LINKAGE_DETACHED   5021 /* linkage detached from element */
 
#define LINKAGE_ATTACHED   5022 /* linkage attached to element */
 
#define AUTOCOMMIT_MODE   5023 /* auto commit mode */
 
#define RELEASE_MODE   5024 /* release resources mode */
 
#define MDLDIALOGS_MODE   5025 /* MDL query dialog mode */
 
#define WORK_COMMITTED   5026 /* work committed */
 
#define WORK_ROLLEDBACK   5027 /* rollback */
 
#define DEBUG_MODE   5028 /* debug mode */
 
#define REVIEW_SELECT_UPDATED   5029 /* review SELECT updated */
 
#define REPORT_TABLE_UPDATED   5030 /* report table updated */
 
#define EXTERNAL_DEBUG_MODE   5031 /* external debug mode */
 
#define SUCCESSFUL_CONNECT   5032 /* Connected to database */
 
#define MDLSQL_DISCONNECTED   5033 /* Disconnected to database */
 
#define BUILDING_MSFORMS_TABLE   5034 /* Building MSFORMS table ... */
 
#define OPEN_COMMAND_FILE   5035 /* opened the SQL command file */
 
#define MDLSQL_WORKING   5036 /* Working ... */
 
#define FORMS_MODE   5037 /* Forms Mode: %s */
 
#define DIALOG_FORMS   5038 /* Forms Dialog */
 
#define TEXT_FORMS   5039 /* Text Screen */
 
#define STATEMENT_PROCESSED   5040 /* SQL Statement Processed */
 
#define IPC_DEBUG_MODE   5041 /* ipc debug mode */
 
#define SAVE_COMMAND_FILE   5042 /* saved the SQL command file */
 
#define DB_INSUFFICIENT_MEMORY   4000 /* allocate database memory */
 
#define SYNTAX_ERROR   4001 /* command line syntax error */
 
#define NO_AE_DEFINED   4002 /* no active entity defined */
 
#define NO_WRITE   4003 /* row not written to database */
 
#define NO_LINK_DATA   4004 /* no database linkage present */
 
#define NO_REPORT   4005 /* unable to generate report file */
 
#define NO_ENTITY   4006 /* no entity specified */
 
#define NO_MSLINK   4007 /* no MSLINK column in table */
 
#define REPORT_BADOPEN   4008 /* unable to open report file. */
 
#define ENTITY_BADVALUE   4009 /* entity number out of bounds */
 
#define FORMAT_NOTFOUND   4010 /* screen form file not found. */
 
#define NULL_LINK_MODE   4011 /* NULL linkage generation mode */
 
#define DB_FILE_NOT_FOUND   4012 /* file not found */
 
#define DB_NOT_FOUND   4014 /* unable to locate database */
 
#define NO_MSCATALOG   4015 /* unable to read MSCATALOG table */
 
#define NOT_UNIQUE   4016 /* more than 1 row returned by FIND*/
 
#define NOT_SELECT_REQUEST   4017 /* not a Select statement */
 
#define DB_NOT_VALID   4018 /* database is not valid */
 
#define NO_ROWS   4019 /* no rows returned from FIND */
 
#define NO_MSLINK_COLUMN   4020 /* no MSLINK column in the table */
 
#define BAD_MSCATALOG   4021 /* illegal format of MSCATALOG */
 
#define NO_REVIEW   4022 /* unable to review attributes */
 
#define BAD_REVIEW_TABLE   4023 /* bad review table */
 
#define NO_MSCATALOG_ENTRY   4024 /* table not present in MSCATALOG */
 
#define NO_MSCATALOG_UPDATE   4025 /* unable to update MSCATALOG table */
 
#define BAD_REPORTFILE   4026 /* bad report specification */
 
#define BAD_MSLINK   4027 /* bad MSLINK key in DBREAD/DBWRITE */
 
#define DATABASE_NOT_FOUND   4028 /* database not found */
 
#define BAD_FENCE_FILTER   4029 /* bad fence filter */
 
#define NO_DB_TASK_SLOTS   4030 /* no more slots for tasks */
 
#define DB_QUEUE_INIT_ERROR   4031 /* unable to create message queue */
 
#define BAD_COLUMN   4032 /* column number out of bounds */
 
#define ILLEGAL_CC_CODE   4033 /* illegal scan comparison code */
 
#define BAD_LINKTYPE   4034 /* illegal types in MS_LINKTYPE */
 
#define UNKNOWN_DATATYPE   4035 /* bad data type during DB_GETFMT */
 
#define BAD_CONNECT   4036 /* bad CONNECT statement format */
 
#define MSLINK_NOT_SET   4037 /* error assigning MSLINK */
 
#define BUILD_AETABLE_ERROR   4038 /* error building "ae" table */
 
#define LOAD_AETABLE_ERROR   4039 /* error loading "ae" table */
 
#define NO_ROWS_RETURNED   4040 /* no rows returned by SELECT */
 
#define FORM_NOT_FOUND   4042 /* screen form not found */
 
#define BAD_FORMS_COMMAND   4043 /* illegal forms command */
 
#define NO_DAS_TABLE   4044 /* no DAS table for this entity */
 
#define NO_DAS_ENTRY   4048 /* no entry in DAS table */
 
#define BAD_FORM_COMMAND   4049 /* invalid form command entered */
 
#define DESCRIPTOR_ERROR   4050 /* allocation error for descriptor */
 
#define BAD_RESOURCE_FILE   4051 /* error opening resource file */
 
#define DESCRIBE_SQL_ERROR   4053 /* SQL error during table describe */
 
#define DESCR_OVERFLOW   4054 /* descriptor larger than message */
 
#define ROW_OVERFLOW   4055 /* row larger than message packet */
 
#define NO_ACTIVE_QUERY   4056 /* fetch failed, no active query */
 
#define NO_DAS_FORM   4057 /* no form defined for DAS type */
 
#define AE_REQUIRES_INSERT   4058 /* AE= command requires INSERT */
 
#define NULL_LINKAGE_MODE   4059 /* NULL linkage mode active */
 
#define ROW_DELETE_ERROR   4060 /* error deleting table row */
 
#define TABLE_NOT_OPEN   4061 /* table not open */
 
#define AE_FOR_NEWLINK   4062 /* AE command only for NEW mode */
 
#define USE_ACTUAL_TABLE   4063 /* AE command use actual table */
 
#define NO_AVAILABLE_CURSORS   4064 /* all cursors are open */
 
#define DBLOADER_NOT_ACTIVE   4065 /* database server loader mdl app is not active */
 
#define NO_COMMAND_FILE   4066 /* SQL command file is not found */
 
#define ELEMENT_NOT_FOUND   4067 /* element is not found */
 
#define NO_FORMS   4068 /* no forms */
 
#define NO_ENTITY_IN_MSCATALOG   4069 /* entity not in mscatalog */
 
#define NO_DBSPECIFIC_MDL   4070 /* no database specific MDL program */
 
#define LAST_ERROR   4071 /* get the last error from the external mdl prog */
 
#define NO_FORM_TABLE   4072 /* no form table defined */
 
#define NO_TYPED_FORM   4073 /* no form of proper type for table */
 
#define NO_EDIT_WO_FORM   4074 /* can't edit ae without forms on */
 
#define CURSOR_NOT_OPEN   4075 /* cursor to fetch from is not open */
 
#define NO_TABLENAMES_RETURNED   4076 /* no table names returned from describeDatabase */
 
#define INVALID_INSERT_STMT   4077 /* insert statement is invalid */
 
#define CURSOR_ALREADY_OPEN   4078 /* specified cursor was already open */
 
#define NOT_LOGGED_IN   4079 /* not logged in */
 
#define BAD_FIND_FORMAT   4080 /* bad input for fi= command */
 
#define NO_ROWS_PROCESSED   4081 /* no rows were processed in a process stmt */
 
#define REQ_FIELD_NOT_DEFD   4082 /* required field not defined */
 
#define FORMMANAGER_NOT_FOUND   4541 /* form manager program not found */
 
#define ECHO_FILE_NOT_FOUND   4545 /* form echo file not found */
 
#define FORMMANAGER_ERROR   4546 /* error starting form manager */
 
#define NO_SPOOL_FILE   4547 /* no screen form output file found */
 

Macro Definition Documentation

#define AE_FOR_NEWLINK   4062 /* AE command only for NEW mode */
#define AE_REQUIRES_INSERT   4058 /* AE= command requires INSERT */
#define AUTOCOMMIT_MODE   5023 /* auto commit mode */
#define BAD_COLUMN   4032 /* column number out of bounds */
#define BAD_CONNECT   4036 /* bad CONNECT statement format */
#define BAD_FENCE_FILTER   4029 /* bad fence filter */
#define BAD_FIND_FORMAT   4080 /* bad input for fi= command */
#define BAD_FORM_COMMAND   4049 /* invalid form command entered */
#define BAD_FORMS_COMMAND   4043 /* illegal forms command */
#define BAD_LINKTYPE   4034 /* illegal types in MS_LINKTYPE */
#define BAD_MSCATALOG   4021 /* illegal format of MSCATALOG */
#define BAD_MSLINK   4027 /* bad MSLINK key in DBREAD/DBWRITE */
#define BAD_REPORTFILE   4026 /* bad report specification */
#define BAD_RESOURCE_FILE   4051 /* error opening resource file */
#define BAD_REVIEW_TABLE   4023 /* bad review table */
#define BUILD_AETABLE_ERROR   4038 /* error building "ae" table */
#define BUILDING_AE_TABLE   5013 /* Building AE table... */
#define BUILDING_MSFORMS_TABLE   5034 /* Building MSFORMS table ... */
#define CONFIRMATION_MODE   5020 /* SET CONFIRM mode */
#define CURSOR_ALREADY_OPEN   4078 /* specified cursor was already open */
#define CURSOR_NOT_OPEN   4075 /* cursor to fetch from is not open */
#define DATA_RESET   5011 /* Data to Accept/Reset to Continue */
#define DATABASE_NAME   5010 /* database name */
#define DATABASE_NOT_FOUND   4028 /* database not found */
#define DB_FILE_NOT_FOUND   4012 /* file not found */
#define DB_INSUFFICIENT_MEMORY   4000 /* allocate database memory */
#define DB_NOT_FOUND   4014 /* unable to locate database */
#define DB_NOT_VALID   4018 /* database is not valid */
#define DB_QUEUE_INIT_ERROR   4031 /* unable to create message queue */
#define DB_SUCCESS   5001 /* normal successful completion */
#define DBLOADER_NOT_ACTIVE   4065 /* database server loader mdl app is not active */
#define DEBUG_MODE   5028 /* debug mode */
#define DELETE_ENTITY   5008 /* "Delete Entity: " */
#define DESCR_OVERFLOW   4054 /* descriptor larger than message */
#define DESCRIBE_SQL_ERROR   4053 /* SQL error during table describe */
#define DESCRIPTOR_ERROR   4050 /* allocation error for descriptor */
#define DIALOG_FORMS   5038 /* Forms Dialog */
#define ECHO_FILE_NOT_FOUND   4545 /* form echo file not found */
#define ELEMENT_NOT_FOUND   4067 /* element is not found */
#define ENTITY_BADVALUE   4009 /* entity number out of bounds */
#define EXTERNAL_DEBUG_MODE   5031 /* external debug mode */
#define FILTER_STATUS   5002 /* fence filter status */
#define FORM_NOT_FOUND   4042 /* screen form not found */
#define FORMAT_NOTFOUND   4010 /* screen form file not found. */
#define FORMMANAGER_ERROR   4546 /* error starting form manager */
#define FORMMANAGER_NOT_FOUND   4541 /* form manager program not found */
#define FORMS_MODE   5037 /* Forms Mode: %s */
#define ILLEGAL_CC_CODE   4033 /* illegal scan comparison code */
#define INVALID_INSERT_STMT   4077 /* insert statement is invalid */
#define IPC_DEBUG_MODE   5041 /* ipc debug mode */
#define KEYIN_PROCESSED   5009 /* keyin processed */
#define LAST_ERROR   4071 /* get the last error from the external mdl prog */
#define LINKAGE_ATTACHED   5022 /* linkage attached to element */
#define LINKAGE_DETACHED   5021 /* linkage detached from element */
#define LINKAGE_MODE   5004 /* linkage mode string */
#define LOAD_AETABLE_ERROR   4039 /* error loading "ae" table */
#define MDLDIALOGS_MODE   5025 /* MDL query dialog mode */
#define MDLSQL_DISCONNECTED   5033 /* Disconnected to database */
#define MDLSQL_WORKING   5036 /* Working ... */
#define MSLINK_NOT_SET   4037 /* error assigning MSLINK */
#define NO_ACTIVE_QUERY   4056 /* fetch failed, no active query */
#define NO_AE_DEFINED   4002 /* no active entity defined */
#define NO_AVAILABLE_CURSORS   4064 /* all cursors are open */
#define NO_COMMAND_FILE   4066 /* SQL command file is not found */
#define NO_DAS_ENTRY   4048 /* no entry in DAS table */
#define NO_DAS_FORM   4057 /* no form defined for DAS type */
#define NO_DAS_TABLE   4044 /* no DAS table for this entity */
#define NO_DB_TASK_SLOTS   4030 /* no more slots for tasks */
#define NO_DBSPECIFIC_MDL   4070 /* no database specific MDL program */
#define NO_EDIT_WO_FORM   4074 /* can't edit ae without forms on */
#define NO_ENTITY   4006 /* no entity specified */
#define NO_ENTITY_IN_MSCATALOG   4069 /* entity not in mscatalog */
#define NO_FORM_TABLE   4072 /* no form table defined */
#define NO_FORMS   4068 /* no forms */
#define NO_LINK_DATA   4004 /* no database linkage present */
#define NO_MSCATALOG   4015 /* unable to read MSCATALOG table */
#define NO_MSCATALOG_ENTRY   4024 /* table not present in MSCATALOG */
#define NO_MSCATALOG_UPDATE   4025 /* unable to update MSCATALOG table */
#define NO_MSLINK   4007 /* no MSLINK column in table */
#define NO_MSLINK_COLUMN   4020 /* no MSLINK column in the table */
#define NO_REPORT   4005 /* unable to generate report file */
#define NO_REVIEW   4022 /* unable to review attributes */
#define NO_ROWS   4019 /* no rows returned from FIND */
#define NO_ROWS_PROCESSED   4081 /* no rows were processed in a process stmt */
#define NO_ROWS_RETURNED   4040 /* no rows returned by SELECT */
#define NO_SPOOL_FILE   4547 /* no screen form output file found */
#define NO_TABLENAMES_RETURNED   4076 /* no table names returned from describeDatabase */
#define NO_TYPED_FORM   4073 /* no form of proper type for table */
#define NO_WRITE   4003 /* row not written to database */
#define NONE_STRING   5007 /* "NONE" */
#define NOT_LOGGED_IN   4079 /* not logged in */
#define NOT_SELECT_REQUEST   4017 /* not a Select statement */
#define NOT_UNIQUE   4016 /* more than 1 row returned by FIND*/
#define NULL_LINK_MODE   4011 /* NULL linkage generation mode */
#define NULL_LINKAGE_MODE   4059 /* NULL linkage mode active */
#define NULL_MESSAGE   5016 /* empty string */
#define OFF_STRING   5006 /* "Off" */
#define ON_STRING   5005 /* "On" */
#define OPEN_COMMAND_FILE   5035 /* opened the SQL command file */
#define PROCESSING_REQUEST   5012 /* Processing database request */
#define PROCESSING_TABLE   5018 /* Processing table */
#define RELEASE_MODE   5024 /* release resources mode */
#define REPORT_BADOPEN   4008 /* unable to open report file. */
#define REPORT_TABLE_UPDATED   5030 /* report table updated */
#define REQ_FIELD_NOT_DEFD   4082 /* required field not defined */
#define RETURN_TO_CONT   5000 /* "Return to Continue" */
#define REVIEW_SELECT_UPDATED   5029 /* review SELECT updated */
#define ROW_DELETE_ERROR   4060 /* error deleting table row */
#define ROW_DELETED   5003 /* row deleted in element deletion */
#define ROW_OVERFLOW   4055 /* row larger than message packet */
#define SAVE_COMMAND_FILE   5042 /* saved the SQL command file */
#define STATEMENT_PROCESSED   5040 /* SQL Statement Processed */
#define SUCCESSFUL_CONNECT   5032 /* Connected to database */
#define SYNTAX_ERROR   4001 /* command line syntax error */
#define TABLE_NOT_OPEN   4061 /* table not open */
#define TEXT_FORMS   5039 /* Text Screen */
#define UNKNOWN_DATATYPE   4035 /* bad data type during DB_GETFMT */
#define USE_ACTUAL_TABLE   4063 /* AE command use actual table */
#define WORK_COMMITTED   5026 /* work committed */
#define WORK_ROLLEDBACK   5027 /* rollback */

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.