Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtSearch / dberr.h
1 /* $XConsortium: dberr.h /main/5 1996/09/23 21:00:53 cde-ibm $ */
2 /*
3  *   COMPONENT_NAME: austext
4  *
5  *   FUNCTIONS: none
6  *
7  *   ORIGINS: 27
8  *
9  *   (C) COPYRIGHT International Business Machines Corp. 1995
10  *   All Rights Reserved
11  *   Licensed Materials - Property of IBM
12  *   US Government Users Restricted Rights - Use, duplication or
13  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14  */
15 /* $Log$
16  * Revision 2.2  1995/10/24  21:37:15  miker
17  * Add prolog.
18  * */
19 /* dberr error/status codes */
20 static char *user_error[] = {
21    "database not opened",
22    "invalid set",
23    "invalid record",
24    "invalid database",
25    "invalid field name",
26    "invalid db_address",
27    "no current record",
28    "set has no current owner",
29    "set has no current member",
30    "key value required",
31    "invalid lock value",
32    "record is owner of non-empty set(s)",
33    "record is member of set(s)",
34    "member already owned",
35    "field is a compound key",
36    "record not connected to set",
37    "field is not a valid key",
38    "record not legal owner of set",
39    "record not legal member of set",
40    "error in d_setpages (database open or bad param)",
41    "incompatible dictionary file",
42    "illegal attempt to delete system record",
43    "illegal attempt to lock locked set/record",
44    "attempt to access unlocked set/record",
45    "transaction id not supplied",
46    "transaction already active",
47    "transaction not active",
48    "transaction cannot begin due to locked files",
49    "cannot free locks within a transaction",
50    "too many changed database pages",
51    "cannot update database outside a transaction",
52    "exclusive access required",
53    "write locks not allowed on static files",
54    "unspecified or duplicate user id",
55    "database, path or file name too long",
56    "invalid file number was passed to d_renfile",
57    "field is not an optional key field",
58    "field is not defined in current record type",
59    "record/field has/in a compound key",
60    "invalid record or set number",
61    "record/set not timestamped",
62    "bad DBUSERID (contains non-alphanumeric)",
63    "NetBIOS has not been installed on machine",
64    "wrong number of elements in DBDPATH",
65    "wrong number of elements in DBFPATH",
66    "no current record type",
67    "invalid country table sort string",
68    "database not closed"
69 };
70 static char *system_error[] = {
71    "no more space on file",
72    "system error",
73    "page fault",
74    "no working file in dio",
75    "unable to allocate sufficient memory",
76    "error opening file",
77    "unable to get access to database taf file",
78    "database taf/log file error",
79    "inconsistent database locks",
80    "file record limit exceeded",
81    "key file inconsistency",
82    "maximum concurrent user limit exceeded",
83    "error seeking in database file",
84    "invalid file specified",
85    "error reading from a database/overflow file",
86    "lock manager synchronization error",
87    "debug check interrupt",
88    "network communications error",
89    "auto-recovery in process",
90    "error writing to a database/overflow file",
91    "no lock manager is installed",
92    "DBUSERID is already being used",
93    "the lock manager is busy"
94 };
95 /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin dberr.h */