-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlcodes.py
3256 lines (3136 loc) · 220 KB
/
sqlcodes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
##############################################################################
##
## Source File Name:SQLCODES
##
## (C) COPYRIGHT International Business Machines Corp. 1987, 1997
## All Rights Reserved
## Licensed Materials - Property of IBM
##
## US Government Users Restricted Rights - Use, duplication or
## disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
##
## Function: Include File defining:
## Labels for SQLCODES
##
## Operating System: Darwin
##
###############################################################################/
#
# TARGET arch is: []
# WORD_SIZE is: 8
# POINTER_SIZE is: 8
# LONGDOUBLE_SIZE is: 16
#
#import ctypes
#sqlint8 = ctypes.c_char
#sqluint8 = ctypes.c_ubyte
#sqlint16 = ctypes.c_int16
#sqluint16 = ctypes.c_uint16
#sqlint32 = ctypes.c_int32
#sqluint32 = ctypes.c_uint32
#sqlint64 = ctypes.c_int64
#sqluint64 = ctypes.c_uint64
#sqlintptr = ctypes.c_int64
#sqluintptr = ctypes.c_uint64
#__all__ = \
# ['sqluintptr', 'sqluint8', 'sqlint32', 'sqlint8', 'sqluint32',
# 'sqluint16', 'sqlint16', 'sqlint64', 'sqluint64', 'sqlintptr']
#include "sqlsystm.h" # System dependent defines #
#SQL Return Codes inSQLCODE #
SQL_RC_OK = 0 # successful execution #
# ------------ warnings ------------ #
SQL_RC_W001 = 1 # Binding or precompilation did not #
# complete successfully. #
SQL_RC_W012 =12 # correlation without qualification #
SQL_RC_W020 =20 # unsupported bind/prep options #
SQL_RC_W100 =100 # eof #
SQL_RC_W117 =117 # wrong nbr of insert values #
SQL_RC_W139 =139 # duplicate column conistraint #
SQL_RC_W143 =143 # invalid syntax ignored #
SQL_RC_W204 =204 # undefined name #
SQL_RC_W205 =205 # not a column #
SQL_RC_W206 =206 # not a column of referenced tables #
SQL_RC_W217 =217 # explain mode incompatible #
SQL_RC_W222 =222 # hole detected during fetch of #
# cursor #
SQL_RC_W231 =231 # cursor position prevents FETCH #
# current row #
SQL_RC_W236 =236 # not enoughSQLvars, none filled in #
SQL_RC_W237 =237 # distinct type: not enoughSQLvars, #
# some filled in #
SQL_RC_W238 =238 # LOB type: not enoughSQLvars, none #
# filled in #
SQL_RC_W239 =239 # distinct type: not enoughSQLvars, #
# none filled in #
SQL_RC_W280 =280 # new view replaced old #
SQL_RC_W293 =293 # error accessing container #
SQL_RC_W347 =347 # possible infinite loop #
SQL_RC_W360 =360 # DATALINK value may not be valid #
SQL_RC_W361 =361 # Revalidation failed for one or #
# more objects #
SQL_RC_W364 =364 # DECFLOAT exception has occured #
SQL_RC_W385 =385 #SQLSTATE orSQLCODE may be over #
# written #
SQL_RC_W403 =403 # alias target is not defined #
SQL_RC_W408 =408 # invalid data type for column #
SQL_RC_W434 =434 # clause value has been replaced #
SQL_RC_W437 =437 # Sub-optimal query #
SQL_RC_W440 =440 # No function with compatible arg #
SQL_RC_W445 =445 # Function has truncated value #
SQL_RC_W447 =447 # Create UDF contains redundant keyw #
SQL_RC_W464 =464 # Procedure returned too many query #
# result sets #
SQL_RC_W462 =462 # UDF returns a warningSQLstate #
SQL_RC_W466 =466 # one or more results sets for #
# stored procedure #
SQL_RC_W467 =467 # Another result set exists for a #
# stored procedure #
SQL_RC_W474 =474 # DDL:could truncate value at #
# runtime #
SQL_RC_W477 =477 # DDL:could truncate value at #
# runtime #
SQL_RC_W494 =494 # Number of result sets greater than #
# number of locators #
SQL_RC_W541 =541 # duplicate referential constraint #
SQL_RC_W551 =551 # authorization error w/obj insert #
SQL_RC_W552 =552 # auth error w/o obj ins #
SQL_RC_W556 =556 # revoke stmt denied--priv not held #
SQL_RC_W558 =558 # revoke stmt denied--has CONTROL #
SQL_RC_W570 =570 # some privileges were not granted #
SQL_RC_W585 =585 # Duplicate schema name #
SQL_RC_W595 =595 # Isolation level escalated #
SQL_RC_W598 =598 # existing index used #
SQL_RC_W599 =599 # compare func not created for lstr #
SQL_RC_W605 =605 # index already exists #
SQL_RC_W799 =799 # set stmt not supported #
SQL_RC_W803 =803 # duplicate row warning #
SQL_RC_W965 =965 # unknownSQL warning another #
# product #
SQL_RC_W997 =997 # XA informational message #
SQL_RC_W1057 =1057 # No entries in directory #
SQL_RC_W1138 =1138 # already existing index was #
# migrated #
SQL_RC_W1140 =1140 # estimate cost exceeds resource #
# limit warning threshold #
SQL_RC_W1161 =1161 # DataLink column not defined on DLM #
SQL_RC_W1162 =1162 # DLM down during exception #
# processing #
SQL_RC_W1165 =1165 # value not within host variable #
# data type range #
SQL_RC_W1166 =1166 # Division by zero #
SQL_RC_W1167 =1167 # Arithmetic overflow or arithmetic #
# exception #
SQL_RC_W1179 =1179 # object may require invoker to have #
# privileges on data source object #
SQL_RC_W1196 =1196 # DLM down during backup #
SQL_RC_W1237 =1237 # Table space converted to large #
SQL_RC_W1251 =1251 # XA no data to return from recover #
SQL_RC_W1256 =1256 # Package body not found or invalid #
SQL_RC_W1289 =1289 # invalid character replaced with #
# substitute character #
SQL_RC_W1349 =1349 # External NOT FENCED routine is #
# detected #
SQL_RC_W1362 =1362 # Parameter not changed dynamically #
SQL_RC_W1363 =1363 # Parameter not changed dynamically #
SQL_RC_W1364 =1364 # Parameter does not support #
# AUTOMATIC #
SQL_RC_W1417 =1417 # Data source server version newer #
# than what wrapper supports #
SQL_RC_W1418 =1418 # DECFLT_ROUNDING db cfg parameter #
# not changed dynamically #
SQL_RC_W1440 =1440 # WITH GRANT OPTION ignored #
SQL_RC_W1464 =1464 # Can't remove a running task #
SQL_RC_ERR_DB_TERM =1475 # system error on DB termination #
SQL_RC_W1479 =1479 # Invalid cursor position #
SQL_RC_W1498 =1498 # Type-1 indexes exist #
SQL_RC_W1499 =1499 # Upgrade warning about additional #
# user action #
SQL_RC_W1528 =1528 # An enabled workload is associated #
# with a disabled service class #
SQL_RC_W1530 =1530 # value of DEGREE ignored #
SQL_RC_W1580 =1580 # Trailing blanks are truncated #
SQL_RC_W1594 =1594 # data remains unverified #
SQLM_RC_NOT_SET =1615 # Event monitor state not changed #
SQL_RC_W1625 =1625 # Monitor: No conversion from source #
# cp to target cp #
SQL_RC_W1626 =1626 # Monitor: code page conversion #
# overflow #
SQL_RC_W1627 =1627 # Monitor: V5 snapshot returned on #
# V6 request #
SQL_RC_W1628 =1628 # Monitor: A remote snapshot #
# operation failed #
SQL_RC_W1629 =1629 # Monitor: A get switches operation #
# ran out of buffer space #
SQL_RC_W1632 =1632 # Collect and reset of statistics #
# already in progress. #
SQL_RC_W1633 =1633 # No active activity event monitor. #
SQL_RC_W1663 =1663 # Log archive compression is not #
# fully enabled. #
SQL_RC_W1758 =1758 # containers not designated for #
# specific nodes are not used #
SQL_RC_W1759 =1759 # Redistribute required to change #
# database partitioning #
SQL_RC_W1765 =1765 # Index creation, recreation, or #
# reorganization may not be #
# recovered on secondary database #
# server #
SQL_RC_W1766 =1766 # LOGINDEXBUILD has not been enabled #
SQL_RC_W1790 =1790 # No default primary table space #
# exists #
SQL_RC_W1792 =1792 # The stats for the specified #
# nicknames were not updated #
SQL_RC_W1821 =1821 # LOB value retrieved may have been #
# changed #
SQL_RC_W1824 =1824 # base tables of UNION ALL may be #
# same table #
SQL_RC_W1829 =1829 # Warning message from data source #
SQL_RC_W1844 =1844 # Data for a column was truncated #
SQL_RC_W2088 =2088 # Automatic statistics profiling has #
# been disabled for the specified #
# connection #
SQL_RC_W2094 =2094 # Rebalance did not move data or not #
# all stripe sets have a container #
SQL_RC_W2095 =2095 # Storage path placed into drop #
# pending state #
SQL_RC_W2077 =2077 # Reconcile pending on some DLMs #
SQL_RC_W2314 =2314 # Statistics are in an inconsistent #
# state #
SQL_RC_W2316 =2316 # The statistics profile has exceed #
# the max size #
SQL_RC_W2317 =2317 # The row-level Bernolli sampling #
# was done instead of System page #
# level sampling #
# Informational and warningSQLCODEs for the ingest utility #
SQL_RC_W2900 =2900 # One or more of the table's #
# distribution keys does not #
# correspond to a field in the field #
# definition list or corresponds to #
# more than one field. #
SQL_RC_I2901 = 2901 # The INGEST command completed with #
# "number" errors and "number" #
# warnings. Messages are in file #
# "filename". #
SQL_RC_I2902 = 2902 # The INGEST command completed with #
# "number" errors and "number" #
# warnings. #
SQL_RC_W2903 = 2903 # Configuration parameter #
# "<parameter>" has been #
# automatically adjusted to the #
# following value: "<value>". Reason #
# code="<reason-code>". #
SQL_RC_W2904 = 2904 # The field value at line number #
# "<line-number>" and byte position #
# "<byte-position>" was truncated #
# because the data is longer than #
# the field length. #
SQL_RC_I2905 = 2905 # The following error occurred #
# issuing theSQL "<sql-statement>" #
# statement on table "<table-name>" #
# using data from line "<line #
# number>" of input file "<file #
# name>". #
SQL_RC_I2906 = 2906 # The following error occurred #
# issuing theSQL "<sql-statement>" #
# statement on table "<table-name>" #
# using data from line "<line #
# number>" of pipe "<pipe-name>". #
SQL_RC_I2907 = 2907 # The following error occurred #
# issuing theSQL "<sql-statement>" #
# statement on table "<table-name>" #
# using data from line "<line #
# number>" of TCP/IP port "<port #
# number>". #
SQL_RC_I2908 = 2908 # The following error occurred while #
# formatting data from pipe "<pipe #
# name>". #
SQL_RC_I2909 = 2909 # The following error occurred while #
# formatting data from TCP/IP port #
# "<port-number>". #
SQL_RC_I2914 = 2914 # The ingest utility has started the #
# following ingest job: "<job-ID>". #
SQL_RC_I2922 = 2922 # The following error occurred while #
# formatting data from input file #
# "<file-name>". #
SQL_RC_W2935 = 2935 # The field value at line number #
# "<line-number>" and field number #
# "<field-number>" will be truncated #
# because the data is longer than #
# the field length. #
SQL_RC_W2959 = 2959 # The utility recovered from the #
# following error. Reason code #
# "<reason-code>". Number of #
# reconnects: "<number>". Number of #
# retries: "<number>". #
SQL_RC_I2965 = 2965 # The following warning or error #
# occurred issuing theSQL "<sql #
# statement>" statement on table #
# "<table-name>". #
SQL_RC_I2966 = 2966 # The following warning or error #
# occurred connecting to the #
# database. Database name or local #
# alias: "<dbname>". User ID: #
# "<user-ID>" #
SQL_RC_I2967 = 2967 # The following warning or error #
# occurred connecting to a database #
# partition. Partition number: #
# "<number>". Database name on the #
# server: "<dbname>". Host name: #
# "<hostname>". Service name or port #
# number: "<service-name-or-port #
# number>". User ID: "<user-ID>". #
SQL_RC_W2976 = 2976 # Field "<field-name>" specifies #
# conflicting values for the length #
# and end position. Reason code #
# "<reason-code>". #
SQL_RC_I2977 = 2977 # Because of the previous error, the #
# ingest utility will exit. #
SQL_RC_I2978 = 2978 # The following error occurred and #
# the ingest utility could not #
# recover after "<number>" #
# reconnects and "<number>" retries. #
# Reason code: "<reason-code>". #
SQL_RC_I2979 =2979 # The ingest utility is starting at #
# "<timestamp>". #
SQL_RC_I2980 =2980 # The ingest utility completed #
# successfully at "<timestamp>". #
SQL_RC_W2982 =2982 # Authorization ID "<auth-ID>" is #
# not currently running any INGEST #
# commands. #
# Informational and warningSQLCODEs for LDAP #
SQL_RC_W3274 =3274 # The database was not catalogued in #
# LDAP #
SQL_RC_W3275 =3275 # The database was not uncatalogued #
# in LDAP #
SQL_RC_W3283 =3283 # Protocol info was not updated in #
# LDAP #
SQL_RC_W4728 =4728 # priority of dft sys serviceclass #
# is too low #
SQL_RC_W5191 =5191 # data change operation adjusted #
# value for a period #
SQL_RC_W5190 =5190 # The primary diagnostic directory #
# path and the alternate diagnostic #
# directory path use the same file #
# system #
SQL_RC_W7035 =7035 #SQL procedure binary not in #
# catalog #
SQL_RC_W8006 =8006 # evaluation period started #
SQL_RC_W8007 =8007 # db2 is in evaluation period #
SQL_RC_W8009 =8009 # concurrent user limit exceeded - #
# DB2 Workgroup #
SQL_RC_W8010 =8010 # concurrent user limit exceeded - #
# DB2 Connect #
SQL_RC_W8012 =8012 # concurrent user limit exceeded - #
# DB2 Enterprise #
SQL_RC_W8013 =8013 # concurrent connection limit #
# exceeded - DB2 Connect #
SQL_RC_W8017 =8017 # processor license limit exceeded #
SQL_RC_W8018 =8018 # concurrent user license limit #
# exceeded #
SQL_RC_W8020 =8020 # concurrent connectors limit #
# exceeded #
SQL_RC_W8021 =8021 # this connector is not registered #
SQL_RC_W20015 =20015 # transform for type not defined #
SQL_RC_W20059 =20059 # summary table cannot be used to #
# optimize query #
SQL_RC_W20090 =20090 # DATALINK attribute only for typed #
# table or type view #
SQL_RC_W20109 =20109 # Error in debugger support #
SQL_RC_W20114 =20114 # Column is not long enough #
SQL_RC_W20140 =20140 # ABBREVIATE column attribute #
# ignored #
SQL_RC_W20149 =20149 # buffer pool configuration complete #
SQL_RC_W20156 =20156 # Event Monitor activated; info may #
# be lost #
SQL_RC_W20159 =20159 # Isolation clause is ignored. #
SQL_RC_W20160 =20160 # Authorization granted to USER #
SQL_RC_W20161 =20161 # Column name is invalid for event #
# monitor table #
SQL_RC_W20169 =20169 # The buffer pool is not started. #
SQL_RC_W20173 =20173 # Event monitor created; target #
# tables already exists #
SQL_RC_W20189 =20189 # Insufficient memory; bufferpool #
# operation will not take effect. #
SQL_RC_W20206 =20206 # procedure returned too many #
# results #
SQL_RC_W20225 =20225 # The buffer pool drop operation #
# will not take effect immediately #
SQL_RC_W20271 =20271 # The name was truncated #
SQL_RC_W20274 =20274 # Some nickname stats cannot be #
# updated #
SQL_RC_W20277 =20277 # Characters truncated during code #
# page conversion #
SQL_RC_W20278 =20278 # View cannot be used to optimize #
# query processing #
SQL_RC_W20287 =20287 # The specified cached statement is #
# different that the current #
# environment #
SQL_RC_W20280 =20280 # Insufficient permission to create #
# or write to file #
SQL_RC_W20302 =20302 # too many table spaces #
SQL_RC_W20351 =20351 # Wrapper options ignored; plugin #
# already defined #
SQL_RC_W20352 =20352 # user mapping changes apply only to #
# federated catalog table #
SQL_RC_W20360 =20360 # A trusted connection cannot be #
# established for the specified #
# authorization ID #
SQL_RC_W20365 =20365 # A Signaling NAN was encountered, #
# or an exception occured in an #
# artihmetic operation or function #
# involving a decfloat #
SQL_RC_W20371 =20371 # The ability to use trusted context #
# <context-name> was removed from #
# some, but not all authorization #
# IDs specified in the statement #
SQL_RC_W20383 =20383 # Errors tolerated as specified by #
# RETURN DATA UNTIL clause #
SQL_RC_W20516 =20516 # The statement compilation was #
# successful but the access plan for #
# this statement could not be #
# preserved #
SQL_RC_W20534 =20534 # One or more tables in the schema #
# have a different attribute than #
# the schema #
SQL_RC_W30101 =30101 # Rebind options ignored #
SQL_RC_W30102 =30102 # Connection disabled #
SQL_RC_W20341 =20341 # Transfer operation ignored since #
# <auth-ID> is already the owner of #
# the database object #
SQL_RC_W20417 =20417 # TheSQL compilation completed #
# without connecting to the data #
# source #
SQL_RC_W20462 =20462 # Unable to return distinct row #
# change columns. Reason code = #
# <reason-code> #
SQL_RC_W20480 =20480 # The newly defined object is marked #
# invalid #
SQL_RC_W20538 =20538 # A permission or mask was changed #
# for the table named "table-name" #
# and this might require a change to #
# the permissions or masks of a #
# materialized query table based on #
# this table to maintain the #
# security of the data #
# ------------ errors ------------ #
SQL_RC_E007 = -7 # illegal character #
SQL_RC_E010 = -10 # string constant not terminated #
SQL_RC_E013 = -13 # cursor or statement name = "" #
SQL_RC_E017 = -17 # function or method does not end #
# with RETURN #
SQL_RC_E029 = -29 # INTO clause required #
SQL_RC_E051 = -51 # maximumSQL statements #
SQL_RC_E056 = -56 #SQLSTATE andSQLCODE declaration #
# in wrong scope #
SQL_RC_E057 = -57 # RETURN statement must include a #
# value #
SQL_RC_E058 = -58 # data type for RETURN value must be #
# INTEGER #
SQL_RC_E078 = -78 # parameter names not specified for #
# routine #
SQL_RC_E079 = -79 # global temp table schema must be #
# SESSION #
SQL_RC_E83 = -83 # A memory allocation error has #
# occurred. #
SQL_RC_E084 = -84 # badSQL statement #
SQL_RC_E085 = -85 # DuplicateSQL statement name #
SQL_RC_E087 = -87 # Invalid context for NULL #
SQL_RC_E097 = -97 # data type not supported inSQL #
# routine #
SQL_RC_E101 = -101 # statement too long #
SQL_RC_E102 = -102 # string constant too long #
SQL_RC_E103 = -103 # invalid numeric literal #
SQL_RC_E104 = -104 # invalid character/token #
SQL_RC_E105 = -105 # invalid string constant #
SQL_RC_E106 = -106 # incomplete statement #
SQL_RC_E107 = -107 # name too long #
SQL_RC_E108 = -108 # name has too many qualifiers #
SQL_RC_E109 = -109 # clause not permitted #
SQL_RC_E110 = -110 # invalid hex constant #
SQL_RC_E111 = -111 # no column name #
SQL_RC_E112 = -112 # operand isSQL function #
SQL_RC_E113 = -113 # identifier contains invalid #
# character #
SQL_RC_E117 = -117 # wrong nbr of insert values #
SQL_RC_E118 = -118 # object table in from clause #
SQL_RC_E119 = -119 # column not in group by #
SQL_RC_E120 = -120 # clause includesSQL fn #
SQL_RC_E121 = -121 # dup column name #
SQL_RC_E122 = -122 # no group by #
SQL_RC_NOTCONST = -123 # parameter must be constant #
SQL_RC_E125 = -125 # no result column #
SQL_RC_E127 = -127 # dup distinct #
SQL_RC_E129 = -129 # too many table names #
SQL_RC_INVESC = -130 # invalid escape character #
SQL_RC_E131 = -131 # incompatible data for like #
SQL_RC_E132 = -132 # like predicate invalid #
SQL_RC_E134 = -134 # improper use of long string #
SQL_RC_E135 = -135 # input must be a host variable or #
# NULL #
SQL_RC_E137 = -137 # length of concat too long #
SQL_RC_E138 = -138 # substr arg out of range #
SQL_RC_E142 = -142 # syntax not supported #
SQL_RC_E146 = -146 # unsupported ANSI syntax #
SQL_RC_E150 = -150 # view not updatable #
SQL_RC_E151 = -151 # column not updatable #
SQL_RC_E152 = -152 # actual constraint type is not #
# expected constraint type #
SQL_RC_E153 = -153 # no column list #
SQL_RC_E1531 = -1531 # DSN not found in db2dsdriver.cfg #
SQL_RC_E155 = -155 # trigger trans tbl not modifiable #
SQL_RC_E156 = -156 # command not allowed on view #
SQL_RC_E157 = -157 # view name in foreign key #
SQL_RC_E158 = -158 # nbr of columns does not match #
SQL_RC_E159 = -159 # drop view on table #
SQL_RC_E160 = -160 # with check not allowed on view #
SQL_RC_E161 = -161 # with check violation #
SQL_RC_E170 = -170 # nbr of arguments invalid #
SQL_RC_E171 = -171 # argument invalid #
SQL_RC_E172 = -172 # function name invalid #
SQL_RC_E176 = -176 # translate scalar argument invalid #
SQL_RC_E180 = -180 # datetime syntax invalid #
SQL_RC_E181 = -181 # datetime value invalid #
SQL_RC_E182 = -182 # datetime arithmetic invalid #
SQL_RC_E183 = -183 # datetime arithmetic out of range #
SQL_RC_DTMEREG = -187 # datetime register is invalid #
SQL_RC_E190 = -190 # data type or length of column #
# incompatible #
SQL_RC_DBCSTRUNC = -191 # truncated DBCS character found #
SQL_RC_E193 = -193 # NOT NULL needs DEFAULT #
SQL_RC_E195 = -195 # Last column in a table cannot be #
# dropped #
SQL_RC_E196 = -196 # Column cannot be dropped #
SQL_RC_E197 = -197 # no qualified columns in ORDER BY #
SQL_RC_E198 = -198 # no statement text #
SQL_RC_E199 = -199 # illegal use of reserved word #
SQL_RC_E203 = -203 # ambiguous column reference #
SQL_RC_E204 = -204 # undefined name #
SQL_RC_E205 = -205 # not a column #
SQL_RC_E206 = -206 # not a column of referenced tables #
SQL_RC_E207 = -207 # cannot orderby column name w/union #
SQL_RC_E208 = -208 # column not part of result table #
SQL_RC_E212 = -212 # duplicate table designator #
SQL_RC_E213 = -213 # Parameter name not in routine #
SQL_RC_E214 = -214 # bad expression in group/by or #
# order by #
SQL_RC_E216 = -216 # number of elements does not match #
SQL_RC_E219 = -219 # required explain table not exist #
SQL_RC_E220 = -220 # explain table has improper def #
SQL_RC_E222 = -222 # update or delete against a hole #
SQL_RC_E224 = -224 # result table does not agree with #
# base table #
SQL_RC_E225 = -225 # FETCH against non-scrollable #
# cursor #
SQL_RC_E227 = -227 # cursor has unknown position #
SQL_RC_E228 = -228 # FOR UPDATE specified for read-only #
# cursor #
SQL_RC_E242 = -242 # duplicate object in list #
SQL_RC_E243 = -243 # SENSITIVE cursor cannot be defined #
# for SELECT #
SQL_RC_E244 = -244 # SENSITIVITY not valid for cursor #
SQL_RC_E245 = -245 # The invocation of a routine is #
# ambiguous #
SQL_RC_E257 = -257 # raw device containers not allowed #
SQL_RC_E258 = -258 # cannot add container to pool #
SQL_RC_E259 = -259 # container map too big #
SQL_RC_E260 = -260 # partition key has long field #
SQL_RC_E261 = -261 # node in use, cannot drop #
SQL_RC_E262 = -262 # multinode table without part key #
SQL_RC_E263 = -263 # invalid node range #
SQL_RC_E264 = -264 # multinode tbl, cannot drop part #
SQL_RC_E265 = -265 # duplicate node name/number #
SQL_RC_E266 = -266 # node not defined #
SQL_RC_E268 = -268 # operatn not done because rebalance #
SQL_RC_E269 = -269 # too many nodegroups #
SQL_RC_E270 = -270 # function not supported #
SQL_RC_E271 = -271 # Index file missing or invalid #
SQL_RC_E276 = -276 # database in restore pending state #
SQL_RC_E279 = -279 # connection terminated during #
# COMMIT #
SQL_RC_E281 = -281 # cannot add containers to #
# tablespace #
SQL_RC_E282 = -282 # cannot drop tblspace, tbl conflict #
SQL_RC_E283 = -283 # cannot drop only temp tablespace #
SQL_RC_E284 = -284 # invalid tablespace type for clause #
SQL_RC_E285 = -285 # all table parts must be in tblspce #
SQL_RC_E286 = -286 # need default tblspce for new #
# tables #
SQL_RC_E287 = -287 # SYSCATSPACE not for user objects #
SQL_RC_E288 = -288 # long tablespace cannot use system #
SQL_RC_E289 = -289 # cannot allocate new pages in #
# tablespace #
SQL_RC_E290 = -290 # access to tablespace not allowed #
SQL_RC_E291 = -291 # invalid state transition #
SQL_RC_E292 = -292 # cannot create internal db file #
SQL_RC_E293 = -293 # error accessing container #
SQL_RC_E294 = -294 # container already in use #
SQL_RC_E295 = -295 # container names too long #
SQL_RC_E296 = -296 # tablespace limit exceeded #
SQL_RC_E297 = -297 # container pathname too long #
SQL_RC_E298 = -298 # bad container pathname #
SQL_RC_E299 = -299 # container already added #
SQL_RC_E301 = -301 # host variable has invalid type #
SQL_RC_E302 = -302 # host variable value too large #
SQL_RC_E303 = -303 # data types not comparable #
SQL_RC_E304 = -304 # value not in range of host var #
SQL_RC_E305 = -305 # host var cannot be null #
SQL_RC_E308 = -308 # host var limit reached #
SQL_RC_E309 = -309 # host var should not be null #
SQL_RC_E311 = -311 # length of host var is negative #
SQL_RC_E312 = -312 # unusable host variable #
SQL_RC_E313 = -313 # wrong nbr of host variables #
SQL_RC_E327 = -327 # no defined data partition range #
SQL_RC_E329 = -329 # path name list invalid #
SQL_RC_E330 = -330 # Character is not in coded #
# character set or not supported #
# convention #
SQL_RC_E332 = -332 # no conversn source-cp to target-cp #
SQL_RC_E334 = -334 # conversion overflow #
SQL_RC_E336 = -336 # decimal scale must be zero #
SQL_RC_E338 = -338 # ON clause not valid for Outer Join #
SQL_RC_E340 = -340 # duplicate common table expression #
SQL_RC_E341 = -341 # cyclic ref between comm tbl exp #
SQL_RC_E342 = -342 # comm tbl exp use UNION ALL #
SQL_RC_E343 = -343 # col names required #
SQL_RC_E344 = -344 # columns must match exactly #
SQL_RC_E345 = -345 # cannot use GROUP BY or HAVING here #
SQL_RC_E346 = -346 # invalid reference to comm tbl exp #
SQL_RC_E348 = -348 # cannot use identity column or #
# sequence #
SQL_RC_E349 = -349 # different sequence expressions in #
# INSERT #
SQL_RC_E350 = -350 # LOB col cannot be idx, key, constr #
SQL_RC_E351 = -351 # LOB col cannot be selected by DRDA #
SQL_RC_E352 = -352 # LOB col cannot be inserted by DRDA #
SQL_RC_E355 = -355 # LOB col cannot be logged #
SQL_RC_E357 = -357 # DataLink Error #
SQL_RC_E358 = -358 # DataLink Error #
SQL_RC_E359 = -359 # Range exhausted #
SQL_RC_E363 = -363 # Extended indicator value out of #
# range #
SQL_RC_E365 = -365 # Invalid use of extended indicator #
SQL_RC_E368 = -368 # DataLink Error #
SQL_RC_E370 = -370 # parameter must be named in CREATE #
# FUNCTION statement #
SQL_RC_E372 = -372 # One identity column per table #
SQL_RC_E373 = -373 # DEFAULT clause not allowed on #
# identity column #
SQL_RC_E374 = -374 # clause not specified in CREATE #
# FUNCTION #
SQL_RC_E388 = -388 # source and target are built-in #
# types or same #
SQL_RC_E389 = -389 # invalid specific function instance #
# in CREATE CAST #
SQL_RC_E390 = -390 # function is invalid in the context #
# it is used #
SQL_RC_E391 = -391 # Invalid use of a row based #
# function #
SQL_RC_E392 = -392 # SQLDA provided for fetch has been #
# changed #
SQL_RC_E396 = -396 # ExecuteSQL statement during final #
# call processing #
SQL_RC_E401 = -401 # operands not comparable #
SQL_RC_E402 = -402 # invalid type for arithmetic op #
SQL_RC_E403 = -403 # alias object undefined #
SQL_RC_E404 = -404 # update/insert string too long #
SQL_RC_E405 = -405 # numeric literal out of range #
SQL_RC_E406 = -406 # derived value out of range #
SQL_RC_E407 = -407 # column cannot be null #
SQL_RC_E408 = -408 # invalid data type for column #
SQL_RC_E409 = -409 # invalid operand for count #
SQL_RC_E410 = -410 # float literal too long #
SQL_RC_E412 = -412 # multiple columns in subquery #
SQL_RC_E413 = -413 # overflow during data conversion #
SQL_RC_E415 = -415 # incompatible data types for union #
SQL_RC_E416 = -416 # long string in union #
SQL_RC_E417 = -417 # invalid use of parameter markers #
SQL_RC_E418 = -418 # parameter marker in select clause #
SQL_RC_E419 = -419 # division produced negative scale #
SQL_RC_E420 = -420 # invalid character in input string #
SQL_RC_E421 = -421 # diff number of columns for union #
SQL_RC_E423 = -423 # Invalid handle #
SQL_RC_E426 = -426 # dynamic COMMIT not valid #
SQL_RC_E427 = -427 # dynamic ROLLBACK not valid #
SQL_RC_E428 = -428 # DISCONNECT in unit of work #
# not allow #
SQL_RC_E429 = -429 # Handle table full #
SQL_RC_E430 = -430 # UDF abnormal end #
SQL_RC_E431 = -431 # UDF interrupted #
SQL_RC_E432 = -432 # Parameter marker cannot have udf #
# nm #
SQL_RC_E433 = -433 # Value is too long #
SQL_RC_E435 = -435 # Inv SQLSTATE in RAISE_ERROR #
SQL_RC_E436 = -436 # C language char string missing NUL #
SQL_RC_E438 = -438 # App raised error #
SQL_RC_E439 = -439 # Error in UDF #
SQL_RC_E440 = -440 # No function with compatible arg #
SQL_RC_E441 = -441 # Invalid use of DISTINCT with #
# scalar #
SQL_RC_E442 = -442 # Error refering function in DML #
SQL_RC_E443 = -443 # UDF returns error SQLstate #
SQL_RC_E444 = -444 # Unable to access UDF function #
SQL_RC_E448 = -448 # Exceed max number of parameters #
SQL_RC_E449 = -449 # Invalid EXTERNAL NAME format #
SQL_RC_E450 = -450 # UDF generates too long result #
# value #
SQL_RC_E451 = -451 # DDL: invalid type for external UDF #
SQL_RC_E452 = -452 # Hostvar file inaccessible #
SQL_RC_E453 = -453 # Error in RETURNS and CAST FROM #
SQL_RC_E454 = -454 # Duplicate UDF name and signature #
SQL_RC_E455 = -455 # Diff schema for UDF name & #
# specific #
SQL_RC_E456 = -456 # Duplicate specific name #
SQL_RC_E457 = -457 # Name reserved for system use #
SQL_RC_E458 = -458 # DDL refers UDF signature not found #
SQL_RC_E459 = -459 # AS CAST use error #
SQL_RC_E461 = -461 # invalid CAST #
SQL_RC_E463 = -463 # UDF returns an invalid SQLstate #
SQL_RC_E465 = -465 # Unable to start fenced UDF #
SQL_RC_E469 = -469 # Invalid use of IN, OUT, or INOUT #
# parameter #
SQL_RC_E470 = -470 # Could not pass NULL argument to #
# procedure #
SQL_RC_E471 = -471 # Error occurred calling a routine #
SQL_RC_E472 = -472 # Cursor left open by function or #
# method #
SQL_RC_E473 = -473 # reserved object name #
SQL_RC_E475 = -475 # Result type of source is different #
SQL_RC_E476 = -476 # Reference to function is not #
# unique #
SQL_RC_E478 = -478 # other obj depends on this obj #
SQL_RC_E480 = -480 # procedure not yet called #
SQL_RC_E481 = -481 # GROUP BY: element nested in #
# element #
SQL_RC_E483 = -483 # Parm num not match with source #
SQL_RC_E486 = -486 # Boolean type is system used only #
SQL_RC_E487 = -487 # Attempt to excute anSQL statement #
SQL_RC_E489 = -489 # Inv BOOLEAN in select list result #
SQL_RC_E490 = -490 # Number outside the range of #
# allowable values #
SQL_RC_E491 = -491 # DDL: missing reqired clause #
SQL_RC_E492 = -492 # DDL: miss match with source type #
SQL_RC_E493 = -493 # UDF returned bad date/time value #
SQL_RC_E495 = -495 # estimated cost exceeds resource #
# limit error threshold #
SQL_RC_E499 = -499 # cursor already assigned to a #
# result set #
SQL_RC_E501 = -501 # cursor not open (fetch/close) #
SQL_RC_E502 = -502 # cursor already open #
SQL_RC_E503 = -503 # column not in update clause #
SQL_RC_E504 = -504 # cursor name not defined #
SQL_RC_E505 = -505 # cursor name already declared #
SQL_RC_E507 = -507 # cursor not open (update/delete) #
SQL_RC_E508 = -508 # cursor not on a row #
SQL_RC_E509 = -509 # table not same as for cursor #
SQL_RC_E510 = -510 # table cannot be modified #
SQL_RC_E511 = -511 # for update not allowed #
SQL_RC_E512 = -512 # operation on fed three-part name #
# not allowed #
SQL_RC_E514 = -514 # cursor not prepared #
SQL_RC_E516 = -516 # describe not a prepared statement #
SQL_RC_E517 = -517 # prepared statment not a select #
SQL_RC_E518 = -518 # execute not a prepared statement #
SQL_RC_E519 = -519 # statement has an open cursor #
SQL_RC_E525 = -525 # statement cannot be executed #
SQL_RC_E526 = -526 # function does not apply to global #
# temp tables #
SQL_RC_E528 = -528 # duplicate primary/unique key #
SQL_RC_E530 = -530 # invalid foreign key value #
SQL_RC_E531 = -531 # cannot update primary key #
SQL_RC_E532 = -532 # delete is restricted #
SQL_RC_E533 = -533 # multi-row insert not allowed #
SQL_RC_E534 = -534 # multi-row update of pk #
SQL_RC_E535 = -535 # multi-row delete not allowed #
SQL_RC_E536 = -536 # descendent in subquery #
SQL_RC_E537 = -537 # dup column in key def #
SQL_RC_E538 = -538 # foreign key does not match pk #
SQL_RC_E539 = -539 # table does not have primary key #
SQL_RC_E540 = -540 # table does not have primary index #
SQL_RC_E541 = -541 # duplicate referential constraint #
SQL_RC_E542 = -542 # pk column cannot allow nulls #
SQL_RC_E543 = -543 # restricted row delete #
SQL_RC_E544 = -544 # check contraint violated #
SQL_RC_E545 = -545 # check contraint not satisfied #
SQL_RC_E546 = -546 # check contraint invalid #
SQL_RC_E548 = -548 # check contraint invalid #
SQL_RC_E549 = -549 # restricted stmt used with #
# DYNAMICRULES BIND pkg #
SQL_RC_E551 = -551 # authorization error w/obj insert #
SQL_RC_E552 = -552 # auth error w/o obj ins #
SQL_RC_E553 = -553 # SYSIBM qualifier #
SQL_RC_E554 = -554 # cannot grant privilege to self #
SQL_RC_E555 = -555 # cannot revoke privilege from self #
SQL_RC_E556 = -556 # revoke stmt denied--priv not held #
SQL_RC_E557 = -557 # invalid combination of privileges #
SQL_RC_E558 = -558 # revoke stmt denied--has CONTROL #
SQL_RC_E562 = -562 # privilege not allowed for public #
SQL_RC_E567 = -567 # invalid authorization id #
SQL_RC_E569 = -569 # user/group ambiguity #
SQL_RC_E572 = -572 # Inoperative package #
SQL_RC_E573 = -573 # contraint col not primary key #
SQL_RC_E574 = -574 # DEFAULT invalid for column #
SQL_RC_E575 = -575 # view is inoperative #
SQL_RC_E576 = -576 # Repetitive alias chain #
SQL_RC_E577 = -577 # function or procedure not defined #
# as MODIFIESSQL DATA #
SQL_RC_E579 = -579 # function or procedure not defined #
# as READSSQL DATA #
SQL_RC_E580 = -580 # Result of CASE expr cannot be NULL #
SQL_RC_E581 = -581 # Data types of CASE expr incompat #
SQL_RC_E582 = -582 # Inv predicate in CASE expr #
SQL_RC_E583 = -583 # Variant or ext action function #
SQL_RC_E584 = -584 # Inv use of NULL or DEFAULT #
SQL_RC_E585 = -585 # Duplicate schema name #
SQL_RC_E586 = -586 # Too many schema names #
SQL_RC_E590 = -590 # Name inSQL procedure not unique #
SQL_RC_E593 = -593 # Row Change timestamp must no be #
# NULL #
SQL_RC_E597 = -597 # Not authorized to update linked #
# file #
SQL_RC_E600 = -600 # udf - dup func signature #
SQL_RC_E601 = -601 # duplicate table/view name #
SQL_RC_E602 = -602 # too many columns in index #
SQL_RC_E603 = -603 # cannot create unique index #
SQL_RC_E604 = -604 # invalid length, precision, scale #
SQL_RC_E606 = -606 # authid does not own column or #
# table #
SQL_RC_E607 = -607 # op not allowed on system tables #
SQL_RC_E612 = -612 # duplicate column name #
SQL_RC_E613 = -613 # primary key too long #
SQL_RC_E614 = -614 # index key too long #
SQL_RC_E615 = -615 # object is in use and cannot be #
# dropped #
SQL_RC_E620 = -620 # userid does not have appropriate #
# dbspaces #
SQL_RC_E622 = -622 # clause invalid for this database #
SQL_RC_E623 = -623 # clustering index already exists #
# for table #
SQL_RC_E624 = -624 # table already has primary key #
SQL_RC_E628 = -628 # DDL: multiple/conflict keywords #
SQL_RC_E629 = -629 # foreign key is not nullable #
SQL_RC_E631 = -631 # foreign key is too long #
SQL_RC_E632 = -632 # delete rule restriction #
SQL_RC_E633 = -633 # delete rule is restricted #
SQL_RC_E634 = -634 # delete rule cannot be CASCADE #
SQL_RC_E636 = -636 # invalid range specification #
SQL_RC_E637 = -637 # dup pk or drop pk clause #
SQL_RC_E638 = -638 # no column definitions #
SQL_RC_E644 = -644 # invalid keyword value #
SQL_RC_E647 = -647 # bufferpool not active #
SQL_RC_E648 = -648 # invalid referential constraint #
SQL_RC_E650 = -650 # object cannot be altered #
SQL_RC_E658 = -658 # object cannot be explicitely #
# dropped #
SQL_RC_E659 = -659 # architectural size limit of object #
SQL_RC_E663 = -663 # wrong number of partition values #
SQL_RC_E667 = -667 # ref constraint does not hold #
SQL_RC_E668 = -668 # table in CHECK PENDING state #
SQL_RC_E669 = -669 # cannot drop primary key #
SQL_RC_E670 = -670 # row length too large #
SQL_RC_E672 = -672 # cannot drop table #
SQL_RC_E673 = -673 # primary key not unique #
SQL_RC_E678 = -678 # incompatible value for column #
SQL_RC_E680 = -680 # too many columns for table #
SQL_RC_E683 = -683 # incompatible column constraint #
SQL_RC_E695 = -695 # Value for DB2SECURITYLABEL column #
# is not valid #
SQL_RC_E696 = -696 # invalid trigger definition #
SQL_RC_E697 = -697 # invalid correlation name use #
SQL_RC_E707 = -707 # object uses reserved name #
SQL_RC_INV_REPL = -713 # invalid replace value for sp reg #
SQL_RC_E719 = -719 # Bind error for user; pkg already #
# exists #
SQL_RC_E720 = -720 # Attempt to replace existing #
# package #
SQL_RC_E721 = -721 # Pkg name with consistency tokens #
# is not unique #
SQL_RC_E722 = -722 # Bind/rebind error for uesr; pkg #
# does not exist #
SQL_RC_E723 = -723 # trigger error #
SQL_RC_E724 = -724 # max level of cascading #
SQL_RC_E727 = -727 # Invalid implicit PREP or REBIND #
SQL_RC_E740 = -740 # MODIFIESSQL DATA option not valid #
# in context #
SQL_RC_E746 = -746 # Routine violates nestedSQL #
# statement rules #
SQL_RC_E750 = -750 # Table cannot be renamed #
SQL_RC_E751 = -751 # statement not allowed in function #
# or proc #
SQL_RC_E752 = -752 # Inoperative package #
SQL_RC_E773 = -773 # Case not found for CASE statement #
SQL_RC_E774 = -774 # statement cannot be executed #
# within an ATOMIC statement #
SQL_RC_E776 = -776 # Use of cursor not valid in FOR #
# statement #
SQL_RC_E777 = -777 # Nested compound statements not #
# allowed #
SQL_RC_E778 = -778 # End label not same name as begin #
# label #
SQL_RC_E779 = -779 # Label in ITERATE or LEAVE is not #
# valid #
SQL_RC_E780 = -780 # UNDO in handler in compound #
# statement #
SQL_RC_E781 = -781 # Condition in handler not defined #
# #
SQL_RC_E782 = -782 # Condition orSQLSTATE in handler #
# not valid #
SQL_RC_E783 = -783 # SELECT list in FOR statement not #
# valid #
SQL_RC_E784 = -784 # Temporal constraint cannot be #
# dropped #
SQL_RC_E785 = -785 # use ofSQLCODE orSQLSTATE is not #
# valid #
SQL_RC_E787 = -787 # RESIGNAL statement used outside #
# handler #
SQL_RC_E788 = -788 # The same table row cannot be the #
# target #
SQL_RC_E789 = -789 # type not supported inSQL #
# procedures #
SQL_RC_E796 = -796 # role cycle is not allowed #
SQL_RC_E797 = -797 # Invalid triggered statement #
SQL_RC_E798 = -798 # Insert value not allowed on #
# generated always identity column #
SQL_RC_E801 = -801 # divide by zero #
SQL_RC_E802 = -802 # arith overflow or divide by zero #
SQL_RC_E803 = -803 # distinct violation #
SQL_RC_E804 = -804 # bad input parameters #
SQL_RC_E805 = -805 # program not bound #
SQL_RC_E808 = -808 # inconsistent connect semantics #
SQL_RC_E811 = -811 # more than one row/value #
SQL_RC_E817 = -817 # statement would cause invalid #
# update operation #
SQL_RC_E818 = -818 # time stamp conflict #
SQL_RC_E822 = -822 # invalid address inSQLda #
SQL_RC_E838 = -838 # Dynamic statement requires a #
# result area #
SQL_RC_E840 = -840 # too many items in list #
SQL_RC_E842 = -842 # connection already exists #
SQL_RC_E843 = -843 # connection does not exist #
SQL_RC_E845 = -845 # cannot use CURRVAL before NEXTVAL #
SQL_RC_E846 = -846 # Invalid identity specification #
SQL_RC_E847 = -847 # can't change connection settings #
SQL_RC_E857 = -857 # Conflicting options have been #
# specified #
SQL_RC_E859 = -859 # TM not for 2 phase commit apps #
SQL_RC_E864 = -864 # Referential contstraint attempted #
# to modify a table modified bySQL #
# data change stmt #
SQL_RC_E865 = -865 # inv TM_DATABASE value #
SQL_RC_E866 = -866 # connect redirect failed #
SQL_RC_E868 = -868 # connection already exists #
SQL_RC_E873 = -873 # objects with different encoding #
# cannot be referenced #
SQL_RC_E874 = -874 # CCSID parameter must match routine #
# parameter #
SQL_RC_E880 = -880 # savepoint does not exist or is #
# invalid #
SQL_RC_E881 = -881 # savepoint name cannot be reused #
SQL_RC_E882 = -882 # savepoint does not exist #
SQL_RC_E901 = -901 # non-fatal system error #
SQL_RC_E902 = -902 # fatal error #
SQL_RC_E903 = -903 # commit failed, rollback #
SQL_RC_E904 = -904 # resource unavailable #
SQL_RC_E905 = -905 # resource limit exceeded #
SQL_RC_E906 = -906 # function disabled #
SQL_RC_E907 = -907 # failed attempt to modify target #
# table of MERGE stmt #
SQL_RC_E908 = -908 # BIND operation not allowed #
SQL_RC_E909 = -909 # object deleted #
SQL_RC_E910 = -910 # drop pending #
SQL_RC_E911 = -911 # deadlock #
SQL_RC_E912 = -912 # too many lock requests #
SQL_RC_E913 = -913 # dist env rollback #
SQL_RC_E917 = -917 # remote rebind from DRDA failed #
SQL_RC_E918 = -918 # ROLLBACK required #