YAZ  5.23.1
diagbib1.h
Go to the documentation of this file.
1 
4 #include <yaz/yconfig.h>
5 
6 #ifndef YAZ_DIAG_bib1_H
7 #define YAZ_DIAG_bib1_H
9 YAZ_EXPORT const char *yaz_diag_bib1_str(int code);
10 YAZ_EXPORT const char *diagbib1_str(int code);
11 #define YAZ_BIB1_PERMANENT_SYSTEM_ERROR 1
12 #define YAZ_BIB1_TEMPORARY_SYSTEM_ERROR 2
13 #define YAZ_BIB1_UNSUPP_SEARCH 3
14 #define YAZ_BIB1_TERMS_ONLY_EXCLUSION_STOP_WORDS 4
15 #define YAZ_BIB1_TOO_MANY_ARGUMENT_WORDS 5
16 #define YAZ_BIB1_TOO_MANY_BOOLEAN_OPERATORS 6
17 #define YAZ_BIB1_TOO_MANY_TRUNCATED_WORDS 7
18 #define YAZ_BIB1_TOO_MANY_INCOMPLETE_SUBFIELDS 8
19 #define YAZ_BIB1_TRUNCATED_WORDS_TOO_SHORT 9
20 #define YAZ_BIB1_INVALID_FORMAT_FOR_RECORD_NUMBER_SEARCH_TERM_ 10
21 #define YAZ_BIB1_TOO_MANY_CHARS_IN_SEARCH_STATEMENT 11
22 #define YAZ_BIB1_TOO_MANY_RECORDS_RETRIEVED 12
23 #define YAZ_BIB1_PRESENT_REQUEST_OUT_OF_RANGE 13
24 #define YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS 14
25 #define YAZ_BIB1_RECORD_NO_AUTHORIZED_TO_BE_SENT_INTERSYSTEM 15
26 #define YAZ_BIB1_RECORD_EXCEEDS_PREFERRED_MESSAGE_SIZE 16
27 #define YAZ_BIB1_RECORD_EXCEEDS_MAXIMUM_RECORD_SIZE 17
28 #define YAZ_BIB1_RESULT_SET_UNSUPP_AS_A_SEARCH_TERM 18
29 #define YAZ_BIB1_ONLY_SINGLE_RESULT_SET_AS_SEARCH_TERM_SUPPORTED 19
30 #define YAZ_BIB1_ONLY_ANDING_OF_A_SINGLE_RESULT_SET_AS_SEARCH_TERM_ 20
31 #define YAZ_BIB1_RESULT_SET_EXISTS_AND_REPLACE_INDICATOR_OFF 21
32 #define YAZ_BIB1_RESULT_SET_NAMING_UNSUPP 22
33 #define YAZ_BIB1_COMBI_OF_SPECIFIED_DATABASES_UNSUPP 23
34 #define YAZ_BIB1_ELEMENT_SET_NAMES_UNSUPP 24
35 #define YAZ_BIB1_SPECIFIED_ELEMENT_SET_NAME_NOT_VALID_FOR_SPECIFIED_ 25
36 #define YAZ_BIB1_ONLY_A_SINGLE_ELEMENT_SET_NAME_SUPPORTED 26
37 #define YAZ_BIB1_RESULT_SET_NO_LONGER_EXISTS_UNILATERALLY_DELETED_BY_ 27
38 #define YAZ_BIB1_RESULT_SET_IS_IN_USE 28
39 #define YAZ_BIB1_ONE_OF_THE_SPECIFIED_DATABASES_IS_LOCKED 29
40 #define YAZ_BIB1_SPECIFIED_RESULT_SET_DOES_NOT_EXIST 30
41 #define YAZ_BIB1_RESOURCES_EXHAUSTED_NO_RESULTS_AVAILABLE 31
42 #define YAZ_BIB1_RESOURCES_EXHAUSTED_UNPREDICTABLE_PARTIAL_RESULTS_ 32
43 #define YAZ_BIB1_RESOURCES_EXHAUSTED_VALID_SUBSET_OF_RESULTS_AVAILABLE 33
44 #define YAZ_BIB1_UNSPECIFIED_ERROR 100
45 #define YAZ_BIB1_ACCESS_CONTROL_FAILURE 101
46 #define YAZ_BIB1_SEC_CHAL_REQUIRED_BUT_COULDNT_BE_ISSUED_REQUEST_ 102
47 #define YAZ_BIB1_SEC_CHAL_REQUIRED_BUT_COULDNT_BE_ISSUED_RECORD_NOT_ 103
48 #define YAZ_BIB1_SEC_CHAL_FAILED_RECORD_NOT_INCLUDED 104
49 #define YAZ_BIB1_TERMINATED_BY_NEGATIVE_CONTINUE_RESPONSE 105
50 #define YAZ_BIB1_NO_ABSTRACT_SYNTAXES_AGREED_TO_FOR_THIS_RECORD 106
51 #define YAZ_BIB1_QUERY_TYPE_UNSUPP 107
52 #define YAZ_BIB1_MALFORMED_QUERY 108
53 #define YAZ_BIB1_DATABASE_UNAVAILABLE 109
54 #define YAZ_BIB1_OPERATOR_UNSUPP 110
55 #define YAZ_BIB1_TOO_MANY_DATABASES_SPECIFIED 111
56 #define YAZ_BIB1_TOO_MANY_RESULT_SETS_CREATED 112
57 #define YAZ_BIB1_UNSUPP_ATTRIBUTE_TYPE 113
58 #define YAZ_BIB1_UNSUPP_USE_ATTRIBUTE 114
59 #define YAZ_BIB1_UNSUPP_VALUE_FOR_USE_ATTRIBUTE 115
60 #define YAZ_BIB1_USE_ATTRIBUTE_REQUIRED_BUT_NOT_SUPPLIED 116
61 #define YAZ_BIB1_UNSUPP_RELATION_ATTRIBUTE 117
62 #define YAZ_BIB1_UNSUPP_STRUCTURE_ATTRIBUTE 118
63 #define YAZ_BIB1_UNSUPP_POSITION_ATTRIBUTE 119
64 #define YAZ_BIB1_UNSUPP_TRUNCATION_ATTRIBUTE 120
65 #define YAZ_BIB1_UNSUPP_ATTRIBUTE_SET 121
66 #define YAZ_BIB1_UNSUPP_COMPLETENESS_ATTRIBUTE 122
67 #define YAZ_BIB1_UNSUPP_ATTRIBUTE_COMBI 123
68 #define YAZ_BIB1_UNSUPP_CODED_VALUE_FOR_TERM 124
69 #define YAZ_BIB1_MALFORMED_SEARCH_TERM 125
70 #define YAZ_BIB1_ILLEGAL_TERM_VALUE_FOR_ATTRIBUTE 126
71 #define YAZ_BIB1_UNPARSABLE_FORMAT_FOR_UN_NORMALIZED_VALUE 127
72 #define YAZ_BIB1_ILLEGAL_RESULT_SET_NAME 128
73 #define YAZ_BIB1_PROX_SEARCH_OF_SETS_UNSUPP 129
74 #define YAZ_BIB1_ILLEGAL_RESULT_SET_IN_PROX_SEARCH 130
75 #define YAZ_BIB1_UNSUPP_PROX_RELATION 131
76 #define YAZ_BIB1_UNSUPP_PROX_UNIT_CODE 132
77 #define YAZ_BIB1_PROX_UNSUPP_WITH_THIS_ATTRIBUTE_COMBI 201
78 #define YAZ_BIB1_UNSUPP_DISTANCE_FOR_PROX 202
79 #define YAZ_BIB1_ORDERED_FLAG_UNSUPP_FOR_PROX 203
80 #define YAZ_BIB1_ONLY_ZERO_STEP_SIZE_SUPPORTED_FOR_SCAN 205
81 #define YAZ_BIB1_SPECIFIED_STEP_SIZE_UNSUPP_FOR_SCAN 206
82 #define YAZ_BIB1_CANNOT_SORT_ACCORDING_TO_SEQUENCE 207
83 #define YAZ_BIB1_NO_RESULT_SET_NAME_SUPPLIED_ON_SORT 208
84 #define YAZ_BIB1_GENERIC_SORT_UNSUPP_DATABASE_SPECIFIC_SORT_ONLY_ 209
85 #define YAZ_BIB1_DATABASE_SPECIFIC_SORT_UNSUPP 210
86 #define YAZ_BIB1_TOO_MANY_SORT_KEYS 211
87 #define YAZ_BIB1_DUP_SORT_KEYS 212
88 #define YAZ_BIB1_UNSUPP_MISSING_DATA_ACTION 213
89 #define YAZ_BIB1_ILLEGAL_SORT_RELATION 214
90 #define YAZ_BIB1_ILLEGAL_CASE_VALUE 215
91 #define YAZ_BIB1_ILLEGAL_MISSING_DATA_ACTION 216
92 #define YAZ_BIB1_SEGMENTATION_CANNOT_GUARANTEE_RECORDS_WILL_FIT_IN_ 217
93 #define YAZ_BIB1_ES_PACKAGE_NAME_ALREADY_IN_USE 218
94 #define YAZ_BIB1_ES_NO_SUCH_PACKAGE_ON_MODIFY_DELETE 219
95 #define YAZ_BIB1_ES_QUOTA_EXCEEDED 220
96 #define YAZ_BIB1_ES_EXTENDED_SERVICE_TYPE_UNSUPP 221
97 #define YAZ_BIB1_ES_PERMISSION_DENIED_ON_ES_ID_NOT_AUTHORIZED 222
98 #define YAZ_BIB1_ES_PERMISSION_DENIED_ON_ES_CANNOT_MODIFY_OR_DELETE 223
99 #define YAZ_BIB1_ES_IMMEDIATE_EXECUTION_FAILED 224
100 #define YAZ_BIB1_ES_IMMEDIATE_EXECUTION_UNSUPP_FOR_THIS_SERVICE 225
101 #define YAZ_BIB1_ES_IMMEDIATE_EXECUTION_UNSUPP_FOR_THESE_PARAMETERS 226
102 #define YAZ_BIB1_NO_DATA_AVAILABLE_IN_REQUESTED_RECORD_SYNTAX 227
103 #define YAZ_BIB1_SCAN_MALFORMED_SCAN 228
104 #define YAZ_BIB1_TERM_TYPE_UNSUPP 229
105 #define YAZ_BIB1_SORT_TOO_MANY_INPUT_RESULTS 230
106 #define YAZ_BIB1_SORT_INCOMPATIBLE_RECORD_FORMATS 231
107 #define YAZ_BIB1_SCAN_TERM_LIST_UNSUPP 232
108 #define YAZ_BIB1_SCAN_UNSUPP_VALUE_OF_POSITION_IN_RESPONSE 233
109 #define YAZ_BIB1_TOO_MANY_INDEX_TERMS_PROCESSED 234
110 #define YAZ_BIB1_DATABASE_DOES_NOT_EXIST 235
111 #define YAZ_BIB1_ACCESS_TO_SPECIFIED_DATABASE_DENIED 236
112 #define YAZ_BIB1_SORT_ILLEGAL_SORT 237
113 #define YAZ_BIB1_RECORD_NOT_AVAILABLE_IN_REQUESTED_SYNTAX 238
114 #define YAZ_BIB1_RECORD_SYNTAX_UNSUPP 239
115 #define YAZ_BIB1_SCAN_RESOURCES_EXHAUSTED_LOOKING_FOR_SATISFYING_TERMS 240
116 #define YAZ_BIB1_SCAN_BEGINNING_OR_END_OF_TERM_LIST 241
117 #define YAZ_BIB1_SEGMENTATION_MAX_SEGMENT_SIZE_TOO_SMALL_TO_SEGMENT_ 242
118 #define YAZ_BIB1_PRESENT_ADDITIONAL_RANGES_PARAMETER_UNSUPP 243
119 #define YAZ_BIB1_PRESENT_COMP_SPEC_PARAMETER_UNSUPP 244
120 #define YAZ_BIB1_TYPE_1_QUERY_RESTRICTION_RESULTATTR_OPERAND_UNSUPP 245
121 #define YAZ_BIB1_TYPE_1_QUERY_COMPLEX_ATTRIBUTEVALUE_UNSUPP 246
122 #define YAZ_BIB1_TYPE_1_QUERY_ATTRIBUTESET_AS_PART_OF_ATTRIBUTEELEMENT_ 247
123 #define YAZ_BIB1_MALFORMED_APDU 1001
124 #define YAZ_BIB1_ES_EXTERNAL_FORM_OF_ITEM_ORDER_REQUEST_UNSUPP 1002
125 #define YAZ_BIB1_ES_RESULT_SET_ITEM_FORM_OF_ITEM_ORDER_REQUEST_UNSUPP 1003
126 #define YAZ_BIB1_ES_EXTENDED_SERVICES_UNSUPP_UNLESS_ACCESS_CONTROL_IS_IN_ 1004
127 #define YAZ_BIB1_RESPONSE_RECORDS_IN_SEARCH_RESPONSE_UNSUPP 1005
128 #define YAZ_BIB1_RESPONSE_RECORDS_IN_SEARCH_RESPONSE_NOT_POSSIBLE_FOR_ 1006
129 #define YAZ_BIB1_NO_EXPLAIN_SERVER_ADDINFO_POINTERS_TO_SERVERS_THAT_HAVE_ 1007
130 #define YAZ_BIB1_ES_MISSING_MANDATORY_PARAMETER_FOR_SPECIFIED_FUNCTION_ 1008
131 #define YAZ_BIB1_ES_ITEM_ORDER_UNSUPP_OID_IN_ITEMREQUEST_ADDINFO_OID 1009
132 #define YAZ_BIB1_INIT_AC_BAD_USERID 1010
133 #define YAZ_BIB1_INIT_AC_BAD_USERID_AND_OR_PASSWORD 1011
134 #define YAZ_BIB1_INIT_AC_NO_SEARCHES_REMAINING_PRE_PURCHASED_SEARCHES_ 1012
135 #define YAZ_BIB1_INIT_AC_INCORRECT_INTERFACE_TYPE_SPECIFIED_ID_VALID_ 1013
136 #define YAZ_BIB1_INIT_AC_AUTHENTICATION_SYSTEM_ERROR 1014
137 #define YAZ_BIB1_INIT_AC_MAXIMUM_NUMBER_OF_SIMULTANEOUS_SESSIONS_FOR_ 1015
138 #define YAZ_BIB1_INIT_AC_BLOCKED_NETWORK_ADDRESS 1016
139 #define YAZ_BIB1_INIT_AC_NO_DATABASES_AVAILABLE_FOR_SPECIFIED_USERID 1017
140 #define YAZ_BIB1_INIT_AC_SYSTEM_TEMPORARILY_OUT_OF_RESOURCES 1018
141 #define YAZ_BIB1_INIT_AC_SYSTEM_NOT_AVAILABLE_DUE_TO_MAINTENANCE 1019
142 #define YAZ_BIB1_INIT_AC_SYSTEM_TEMPORARILY_UNAVAILABLE_ADDINFO_WHEN_IT_ 1020
143 #define YAZ_BIB1_INIT_AC_ACCOUNT_HAS_EXPIRED 1021
144 #define YAZ_BIB1_INIT_AC_PASSWORD_HAS_EXPIRED_SO_A_NEW_ONE_MUST_BE_ 1022
145 #define YAZ_BIB1_INIT_AC_PASSWORD_HAS_BEEN_CHANGED_BY_AN_ADMINISTRATOR_ 1023
146 #define YAZ_BIB1_UNSUPP_ATTRIBUTE 1024
147 #define YAZ_BIB1_SERVICE_UNSUPP_FOR_THIS_DATABASE 1025
148 #define YAZ_BIB1_RECORD_CANNOT_BE_OPENED_BECAUSE_IT_IS_LOCKED 1026
149 #define YAZ_BIB1_SQL_ERROR 1027
150 #define YAZ_BIB1_RECORD_DELETED 1028
151 #define YAZ_BIB1_SCAN_TOO_MANY_TERMS_REQUESTED_ADDINFO_MAX_TERMS_ 1029
152 #define YAZ_BIB1_ES_INVALID_FUNCTION 1040
153 #define YAZ_BIB1_ES_ERROR_IN_RETENTION_TIME 1041
154 #define YAZ_BIB1_ES_PERMISSIONS_DATA_NOT_UNDERSTOOD 1042
155 #define YAZ_BIB1_ES_INVALID_OID_FOR_TASK_SPECIFIC_PARAMETERS 1043
156 #define YAZ_BIB1_ES_INVALID_ACTION 1044
157 #define YAZ_BIB1_ES_UNKNOWN_SCHEMA 1045
158 #define YAZ_BIB1_ES_TOO_MANY_RECORDS_IN_PACKAGE 1046
159 #define YAZ_BIB1_ES_INVALID_WAIT_ACTION 1047
160 #define YAZ_BIB1_ES_CANNOT_CREATE_TASK_PACKAGE__EXCEEDS_MAXIMUM_ 1048
161 #define YAZ_BIB1_ES_CANNOT_RETURN_TASK_PACKAGE__EXCEEDS_MAXIMUM_ 1049
162 #define YAZ_BIB1_ES_EXTENDED_SERVICES_REQUEST_TOO_LARGE 1050
163 #define YAZ_BIB1_SCAN_ATTRIBUTE_SET_ID_REQUIRED__NOT_SUPPLIED 1051
164 #define YAZ_BIB1_ES_CANNOT_PROCESS_TASK_PACKAGE_RECORD__EXCEEDS_MAXIMUM_ 1052
165 #define YAZ_BIB1_ES_CANNOT_RETURN_TASK_PACKAGE_RECORD__EXCEEDS_MAXIMUM_ 1053
166 #define YAZ_BIB1_INIT_REQUIRED_NEGOTIATION_RECORD_NOT_INCLUDED 1054
167 #define YAZ_BIB1_INIT_NEGOTIATION_OPTION_REQUIRED 1055
168 #define YAZ_BIB1_ATTRIBUTE_UNSUPP_FOR_DATABASE 1056
169 #define YAZ_BIB1_ES_UNSUPP_VALUE_OF_TASK_PACKAGE_PARAMETER 1057
170 #define YAZ_BIB1_DUP_DETECTION_CANNOT_DEDUP_ON_REQUESTED_RECORD_PORTION 1058
171 #define YAZ_BIB1_DUP_DETECTION_REQUESTED_DETECTION_CRITERION_UNSUPP 1059
172 #define YAZ_BIB1_DUP_DETECTION_REQUESTED_LEVEL_OF_MATCH_UNSUPP 1060
173 #define YAZ_BIB1_DUP_DETECTION_REQUESTED_REGULAR_EXPRESSION_UNSUPP 1061
174 #define YAZ_BIB1_DUP_DETECTION_CANNOT_DO_CLUSTERING 1062
175 #define YAZ_BIB1_DUP_DETECTION_RETENTION_CRITERION_UNSUPP 1063
176 #define YAZ_BIB1_DUP_DETECTION_REQUESTED_NUMBER_OR_PERCENTAGE_OF_ENTRIES_ 1064
177 #define YAZ_BIB1_DUP_DETECTION_REQUESTED_SORT_CRITERION_UNSUPP 1065
178 #define YAZ_BIB1_COMPSPEC_UNKNOWN_SCHEMA_OR_SCHEMA_UNSUPP_ 1066
179 #define YAZ_BIB1_ENCAPSULATION_ENCAPSULATED_SEQUENCE_OF_PDUS_UNSUPP 1067
180 #define YAZ_BIB1_ENCAPSULATION_BASE_OPERATION_AND_ENCAPSULATED_PDUS_NOT_ 1068
181 #define YAZ_BIB1_NO_SYNTAXES_AVAILABLE_FOR_THIS_REQUEST 1069
182 #define YAZ_BIB1_USER_NOT_AUTHORIZED_TO_RECEIVE_RECORD_S_IN_REQUESTED_ 1070
183 #define YAZ_BIB1_PREFERREDRECORDSYNTAX_NOT_SUPPLIED 1071
184 #define YAZ_BIB1_QUERY_TERM_INCLUDES_CHARS_THAT_DO_NOT_TRANSLATE_INTO_ 1072
185 #define YAZ_BIB1_DATABASE_RECORDS_DO_NOT_CONTAIN_DATA_ASSOCIATED_WITH_ 1073
186 #define YAZ_BIB1_PROXY_FAILURE 1074
187 
189 #endif
190 
#define YAZ_END_CDECL
Definition: yconfig.h:57
const char * diagbib1_str(int code)
Definition: diagbib1.c:192
const char * yaz_diag_bib1_str(int code)
Definition: diagbib1.c:188
Header with fundamental macros.
int code
Definition: diag-entry.h:34
#define YAZ_BEGIN_CDECL
Definition: yconfig.h:56