The following error messages are associated with the call line parameter specifications. When a call line error is encountered, processing is stopped immediately and no changes are made to the database.
Error C0001: A database name was not specified.
You must specify the name of a CP-AMS, SMART AMS, or SP-AMS database on the call line.
Error C0002: ’database’ is not a valid database-type database name.
The file specified as a database was not a valid database name. database-type is either AMS (signifying SMART AMS), CP-AMS, or SP-AMS. CP-AMS database names are 1 to 255 characters, and cannot include slashes, backslashes, colons, asterisks, question marks, double quotes, les than symbols, greater than symbols, and vertical bars. SMART AMS database names are 1 to 8 alphanumeric characters and hyphens. SP‑AMS database names are 1 to 128 case sensitive ASCII characters, and cannot include slashes, backslashes, and spaces.
Error C0003: Input file ’filename’ not found.
The input file filename does not exist in the specified folder.
Error C0004: Read access to input file ’filename’ denied.
BADB was not allowed read access to the input file filename .
Error C0005: Database ’database’ not found.
A valid name for a CP-AMS, SMART AMS, or SP-AMS database was specified but a database with this name could not be found on the system. If you are trying to create a new database, make sure to include the option -c on the BADB call line.
Error C0006: ’filename’ does not have a valid database file-id.
The file specified for the database was read and did not contain a valid database identifier. filename does not contain a CP-AMS, SMART AMS, or SP-AMS database. This may mean that the database is corrupted or was created with a level of BADB that is too old.
Error C0007: Revision level of database ’database’ unrecognized.
The internal revision level of the CP-AMS, SMART AMS, or SP-AMS database is not a known value. This may mean that the database is corrupted or was created with a level of BADB that is too old.
Error C0008: Cannot read database ’database’ header.
An error occurred when BADB attempted to read the database header.
Error C0009: Cannot access-type database ’: explanation database’.
An error occurred when BADB attempted to create or open the database. Check the path name to be sure that a valid path was specified. access-type is either open or create. explanation is a brief explanation of the problem.
Error C0010: Cannot convert old database ’database’
to new database format.
An error occurred when BADB attempted to convert a database created by a BADB prior to level 3R1. Use an older level of DADB to dump the database and then rebuild it using the current level BADB.
Error C0016: Illegal format type: type
The VADB input format type specified using the option -f is not valid. Valid format types are BADB, SPOLOG, and TEXT.
Error C0017: The OS2200 system console does not
support the locale ’locale’.
locale is the value defined by the variable LANG. An attempt was made to compile an AMS database with BADB, where locale is not set to a locale that contains only single-byte characters.
Error C0018: Locale ’current-locale’ is not compatible with the database locale ’db-locale’.
current-locale is the current value of the environment variable LANG and db-locale is the locale stored in the database (the first 20 characters of the value set by the environment variable LANG when the database was created).
If no locale is stored in an SP-AMS database because the database was created by a an older version of BADB, BADB assumes a maximum character byte length of one. If the maximum character byte length of current - locale is greater than one, BADB issues this error. Otherwise, the locale and the maximum character byte length are stored in the database. BADB never issues this error for CP-AMS and SMART AMS databases.
Error C0019: Invalid operating mode type (valid = a,c,u): mode.
The operating mode specified with the option -l or -s is not valid. Valid operating modes are a (attended), c (casual), or u (unattended).
Error C0020: Invalid file name: file.
The name of the database to create is not a valid file name. Use only characters in your database name that are valid file name characters on the system where you are running.
Error C0021: S option must only specify one operating mode.
More than one operating mode was specified with the option -s. Only one operating mode (a,c, or u) can be specified with the -s option.
Error C0023: Database name database-name is incompatible with creation option ’-option’.
The database name included an extension that conflicts with the creation option. For example, a database name with the extension .acp was specified with a creation option (-u) that signifies SP-AMS. You need not specify a database extension. In that case, BADB builds a database of the correct type with the correct extension based on the database creation option (-c, -cu, or -cc).
Error C0026: Invalid host name ’host-name’
specified with host-id (-h) option.
This message is displayed when the host name passed on the VADB call line is too long.
Error C0027: Cannot access file file (errno error).
The input file ‘ file ' cannot be accessed. Check to make sure that the file name is correct. error is the status returned by the operating system when trying to access the file.