YAZ
5.34.0
src
diagbib1.c
Go to the documentation of this file.
1
3
#ifdef HAVE_CONFIG_H
4
#include <
config.h
>
5
#endif
6
7
#include <
diag-entry.h
>
8
#include "
./yaz/diagbib1.h
"
9
struct
yaz_diag_entry
yaz_diag_bib1_tab
[] = {
10
11
{1,
"Permanent system error"
},
12
{2,
"Temporary system error"
},
13
{3,
"Unsupported search"
},
14
{4,
"Terms only exclusion (stop) words"
},
15
{5,
"Too many argument words"
},
16
{6,
"Too many boolean operators"
},
17
{7,
"Too many truncated words"
},
18
{8,
"Too many incomplete subfields"
},
19
{9,
"Truncated words too short"
},
20
{10,
"Invalid format for record number (search term)"
},
21
{11,
"Too many characters in search statement"
},
22
{12,
"Too many records retrieved"
},
23
{13,
"Present request out of range"
},
24
{14,
"System error in presenting records"
},
25
{15,
"Record no authorized to be sent intersystem"
},
26
{16,
"Record exceeds Preferred-message-size"
},
27
{17,
"Record exceeds Maximum-record-size"
},
28
{18,
"Result set not supported as a search term"
},
29
{19,
"Only single result set as search term supported"
},
30
{20,
"Only ANDing of a single result set as search term supported"
},
31
{21,
"Result set exists and replace indicator off"
},
32
{22,
"Result set naming not supported"
},
33
{23,
"Combination of specified databases not supported"
},
34
{24,
"Element set names not supported"
},
35
{25,
"Specified element set name not valid for specified database"
},
36
{26,
"Only a single element set name supported"
},
37
{27,
"Result set no longer exists - unilaterally deleted by target"
},
38
{28,
"Result set is in use"
},
39
{29,
"One of the specified databases is locked"
},
40
{30,
"Specified result set does not exist"
},
41
{31,
"Resources exhausted - no results available"
},
42
{32,
"Resources exhausted - unpredictable partial results available"
},
43
{33,
"Resources exhausted - valid subset of results available"
},
44
{100,
"Unspecified error"
},
45
{101,
"Access-control failure"
},
46
{102,
"Security challenge required but could not be issued - request terminated"
},
47
{103,
"Security challenge required but could not be issued - record not included"
},
48
{104,
"Security challenge failed - record not included"
},
49
{105,
"Terminated by negative continue response"
},
50
{106,
"No abstract syntaxes agreed to for this record"
},
51
{107,
"Query type not supported"
},
52
{108,
"Malformed query"
},
53
{109,
"Database unavailable"
},
54
{110,
"Operator unsupported"
},
55
{111,
"Too many databases specified"
},
56
{112,
"Too many result sets created"
},
57
{113,
"Unsupported attribute type"
},
58
{114,
"Unsupported Use attribute"
},
59
{115,
"Unsupported value for Use attribute"
},
60
{116,
"Use attribute required but not supplied"
},
61
{117,
"Unsupported Relation attribute"
},
62
{118,
"Unsupported Structure attribute"
},
63
{119,
"Unsupported Position attribute"
},
64
{120,
"Unsupported Truncation attribute"
},
65
{121,
"Unsupported Attribute Set"
},
66
{122,
"Unsupported Completeness attribute"
},
67
{123,
"Unsupported attribute combination"
},
68
{124,
"Unsupported coded value for term"
},
69
{125,
"Malformed search term"
},
70
{126,
"Illegal term value for attribute"
},
71
{127,
"Unparsable format for un-normalized value"
},
72
{128,
"Illegal result set name"
},
73
{129,
"Proximity search of sets not supported"
},
74
{130,
"Illegal result set in proximity search"
},
75
{131,
"Unsupported proximity relation"
},
76
{132,
"Unsupported proximity unit code"
},
77
{201,
"Proximity not supported with this attribute combination"
},
78
{202,
"Unsupported distance for proximity"
},
79
{203,
"Ordered flag not supported for proximity"
},
80
{205,
"Only zero step size supported for Scan"
},
81
{206,
"Specified step size not supported for Scan"
},
82
{207,
"Cannot sort according to sequence"
},
83
{208,
"No result set name supplied on Sort"
},
84
{209,
"Generic sort not supported (database-specific sort only supported)"
},
85
{210,
"Database specific sort not supported"
},
86
{211,
"Too many sort keys"
},
87
{212,
"Duplicate sort keys"
},
88
{213,
"Unsupported missing data action"
},
89
{214,
"Illegal sort relation"
},
90
{215,
"Illegal case value"
},
91
{216,
"Illegal missing data action"
},
92
{217,
"Segmentation: Cannot guarantee records will fit in specified segments"
},
93
{218,
"ES: Package name already in use"
},
94
{219,
"ES: no such package, on modify/delete"
},
95
{220,
"ES: quota exceeded"
},
96
{221,
"ES: extended service type not supported"
},
97
{222,
"ES: permission denied on ES - id not authorized"
},
98
{223,
"ES: permission denied on ES - cannot modify or delete"
},
99
{224,
"ES: immediate execution failed"
},
100
{225,
"ES: immediate execution not supported for this service"
},
101
{226,
"ES: immediate execution not supported for these parameters"
},
102
{227,
"No data available in requested record syntax"
},
103
{228,
"Scan: malformed scan"
},
104
{229,
"Term type not supported"
},
105
{230,
"Sort: too many input results"
},
106
{231,
"Sort: incompatible record formats"
},
107
{232,
"Scan: term list not supported"
},
108
{233,
"Scan: unsupported value of position-in-response"
},
109
{234,
"Too many index terms processed"
},
110
{235,
"Database does not exist"
},
111
{236,
"Access to specified database denied"
},
112
{237,
"Sort: illegal sort"
},
113
{238,
"Record not available in requested syntax"
},
114
{239,
"Record syntax not supported"
},
115
{240,
"Scan: Resources exhausted looking for satisfying terms"
},
116
{241,
"Scan: Beginning or end of term list"
},
117
{242,
"Segmentation: max-segment-size too small to segment record"
},
118
{243,
"Present: additional-ranges parameter not supported"
},
119
{244,
"Present: comp-spec parameter not supported"
},
120
{245,
"Type-1 query: restriction ('resultAttr') operand not supported"
},
121
{246,
"Type-1 query: 'complex' attributeValue not supported"
},
122
{247,
"Type-1 query: 'attributeSet' as part of AttributeElement not supported"
},
123
{1001,
"Malformed APDU"
},
124
{1002,
"ES: EXTERNAL form of Item Order request not supported"
},
125
{1003,
"ES: Result set item form of Item Order request not supported"
},
126
{1004,
"ES: Extended services not supported unless access control is in effect"
},
127
{1005,
"Response records in Search response not supported"
},
128
{1006,
"Response records in Search response not possible for specified database (or database combination)"
},
129
{1007,
"No Explain server. Addinfo: pointers to servers that have a surrogate Explain database for this server"
},
130
{1008,
"ES: missing mandatory parameter for specified function. Addinfo: parameter"
},
131
{1009,
"ES: Item Order, unsupported OID in itemRequest. Addinfo: OID"
},
132
{1010,
"Init/AC: Bad Userid"
},
133
{1011,
"Init/AC: Bad Userid and/or Password"
},
134
{1012,
"Init/AC: No searches remaining (pre-purchased searches exhausted)"
},
135
{1013,
"Init/AC: Incorrect interface type (specified id valid only when used with a particular access method or client)"
},
136
{1014,
"Init/AC: Authentication System error"
},
137
{1015,
"Init/AC: Maximum number of simultaneous sessions for Userid"
},
138
{1016,
"Init/AC: Blocked network address"
},
139
{1017,
"Init/AC: No databases available for specified userId"
},
140
{1018,
"Init/AC: System temporarily out of resources"
},
141
{1019,
"Init/AC: System not available due to maintenance"
},
142
{1020,
"Init/AC: System temporarily unavailable (Addinfo: when it's expected back up)"
},
143
{1021,
"Init/AC: Account has expired"
},
144
{1022,
"Init/AC: Password has expired so a new one must be supplied"
},
145
{1023,
"Init/AC: Password has been changed by an administrator so a new one must be supplied"
},
146
{1024,
"Unsupported Attribute"
},
147
{1025,
"Service not supported for this database"
},
148
{1026,
"Record cannot be opened because it is locked"
},
149
{1027,
"SQL error"
},
150
{1028,
"Record deleted"
},
151
{1029,
"Scan: too many terms requested. Addinfo: max terms supported"
},
152
{1040,
"ES: Invalid function"
},
153
{1041,
"ES: Error in retention time"
},
154
{1042,
"ES: Permissions data not understood"
},
155
{1043,
"ES: Invalid OID for task specific parameters"
},
156
{1044,
"ES: Invalid action"
},
157
{1045,
"ES: Unknown schema"
},
158
{1046,
"ES: Too many records in package"
},
159
{1047,
"ES: Invalid wait action"
},
160
{1048,
"ES: Cannot create task package -- exceeds maximum permissible size"
},
161
{1049,
"ES: Cannot return task package -- exceeds maximum permissible size"
},
162
{1050,
"ES: Extended services request too large"
},
163
{1051,
"Scan: Attribute set id required -- not supplied"
},
164
{1052,
"ES: Cannot process task package record -- exceeds maximum permissible record size for ES"
},
165
{1053,
"ES: Cannot return task package record -- exceeds maximum permissible record size for ES response"
},
166
{1054,
"Init: Required negotiation record not included"
},
167
{1055,
"Init: negotiation option required"
},
168
{1056,
"Attribute not supported for database"
},
169
{1057,
"ES: Unsupported value of task package parameter"
},
170
{1058,
"Duplicate Detection: Cannot dedup on requested record portion"
},
171
{1059,
"Duplicate Detection: Requested detection criterion not supported"
},
172
{1060,
"Duplicate Detection: Requested level of match not supported"
},
173
{1061,
"Duplicate Detection: Requested regular expression not supported"
},
174
{1062,
"Duplicate Detection: Cannot do clustering"
},
175
{1063,
"Duplicate Detection: Retention criterion not supported"
},
176
{1064,
"Duplicate Detection: Requested number (or percentage) of entries "
},
177
{1065,
"Duplicate Detection: Requested sort criterion not supported"
},
178
{1066,
"CompSpec: Unknown schema, or schema not supported."
},
179
{1067,
"Encapsulation: Encapsulated sequence of PDUs not supported"
},
180
{1068,
"Encapsulation: Base operation (and encapsulated PDUs) not executed based on pre-screening analysis"
},
181
{1069,
"No syntaxes available for this request"
},
182
{1070,
"user not authorized to receive record(s) in requested syntax"
},
183
{1071,
"preferredRecordSyntax not supplied"
},
184
{1072,
"Query term includes characters that do not translate into the target character set"
},
185
{1073,
"Database records do not contain data associated with access point"
},
186
{1074,
"Proxy failure"
},
187
{0, 0}};
188
const
char
*
yaz_diag_bib1_str
(
int
code
)
189
{
190
return
yaz_diag_to_str
(
yaz_diag_bib1_tab
,
code
);
191
}
192
const
char
*
diagbib1_str
(
int
code
)
193
{
194
return
yaz_diag_to_str
(
yaz_diag_bib1_tab
,
code
);
195
}
config.h
yaz_diag_to_str
const char * yaz_diag_to_str(struct yaz_diag_entry *tab, int code)
Definition:
diag-entry.c:17
diag-entry.h
Diagnostic table lookup header.
yaz_diag_bib1_str
const char * yaz_diag_bib1_str(int code)
Definition:
diagbib1.c:188
yaz_diag_bib1_tab
struct yaz_diag_entry yaz_diag_bib1_tab[]
Definition:
diagbib1.c:9
diagbib1_str
const char * diagbib1_str(int code)
Definition:
diagbib1.c:192
diagbib1.h
Diagnostics: Generated by csvtodiag.tcl from ./bib1.csv.
yaz_diag_entry
Definition:
diag-entry.h:33
yaz_diag_entry::code
int code
Definition:
diag-entry.h:34
Generated by
1.9.1