ASA Programming Guide
SQL Preprocessor Error Messages
SQL Preprocessor error messages indexed by error message value
Message value
Message
2601
subscript value %1 too large
2602
combined pointer and arrays not supported for host types
2603
only one dimensional arrays supported for char type
2604
VARCHAR type must have a length
2605
arrays of VARCHAR not supported
2606
VARCHAR host variables cannot be pointers
2607
initializer not allowed on VARCHAR host variable
2608
FIXCHAR type must have a length
2609
arrays of FIXCHAR not supported
2610
arrays of this type not supported
2611
precision must be specified for decimal type
2612
arrays of decimal not allowed
2613
Unknown hostvar type
2614
invalid integer
2615
'%1' host variable must be a C string type
2617
'%1' symbol already defined
2618
invalid type for sql statement variable
2619
Cannot find include file '%1'
2620
host variable '%1' is unknown
2621
indicator variable '%1' is unknown
2622
invalid type for indicator variable '%1'
2623
invalid host variable type on '%1'
2625
host variable '%1' has two different definitions
2626
statement '%1' not previously prepared
2627
cursor '%1' not previously declared
2628
unknown statement '%1'
2629
host variables not allowed for this cursor
2630
host variables specified twice - on declare and open
2631
must specify a host list or using clause on %1
2633
no INTO clause on SELECT statement
2634
incorrect SQL language usage -- that is a '%1' extension
2635
incorrect Embedded SQL language usage -- that is a '%1' extension
2636
incorrect Embedded SQL syntax
2637
missing ending quote of string
2639
token too long
2640
'%1' host variable must be an integer type
2641
must specify an SQLDA on a DESCRIBE
2642
Two SQLDAs specified of the same type (INTO or USING)
2646
cannot describe static cursors
2647
Macros cannot be redefined
2648
Invalid array dimension
2649
invalid descriptor index
2650
invalid field for SET DESCRIPTOR
2651
field used more than once in SET DESCRIPTOR statement
2652
data value must be a host variable
2660
Into clause not allowed on declare cursor - ignored
2661
unrecognized SQL syntax
2662
unknown sql function '%1'
2663
wrong number of parms to sql function '%1'
2664
static statement names will not work properly if used by 2 threads
2665
host variable '%1' has been redefined
2666
vendor extension
2667
intermediate SQL feature
2668
full SQL feature
2669
transact SQL extension
2680
no declare section and no INCLUDE SQLCA statement
2681
unable to open temporary file
2682
error reading temporary file
2683
error writing output file
2690
Inconsistent number of host variables for this cursor
2691
Inconsistent host variable types for this cursor
2692
Inconsistent indicator variables for this cursor
2693
Feature not available with UltraLite
2694
no OPEN for cursor '%1'
2695
no FETCH or PUT for cursor '%1'
2696
Host variable '%1' is in use more than once with different indicators
2697
long binary/long varchar size limit is 65535 for UltraLite