SQL Programming Manual for TAL
System Procedures
HP NonStop SQL Programming Manual for TAL—527887-001
4-12
SQLCAGETINFOLIST
Table 4-3 lists the SQLCAGETINFOLIST error codes.
22 2 SQL error or warning number
23 2 Subsystem ID: First byte is 0; second byte can be one of these
letters:
S Compiler, catalog manager, executor, SQLUTIL, SQLCI
F SQL file system
D DP2 disk process
G NonStop Kernel operating system
R FASTSORT program (SORTPROG process)
L Load routines
I Sequential I/O (SIO) procedures
24 2 Suppress printing this error (0 = False, nonzero = True)
25 2 Offset into the parameters buffer for parameters associated with
the call. SQL returns –1 if there are no parameters.
26 2 Number of parameters for this error.
27 2 Sequence in which the error or warning was set.
28 2 Size of the buffer that contains parameters.
29 (in item
code 28)
Buffer that contains parameters, delimited by zero. Each parameter
begins on an even word boundary and is preceded by 2 bytes.
Table 4-3. SQLCAGETINFOLIST Procedure Error Codes
Error Code Description
8510 A required parameter is missing.
8511 The program specified an invalid item code.
8512 The program specified an invalid SQLCA structure.
8513 The program specified an SQLCA structure with a version that is more
recent than the version of the SQLCAGETINFOLIST procedure.
8514 Insufficient buffer space is available.
8515 The program specified an error entry index that is less than zero or
greater than the number of errors.
8516 The program specified a namesmax parameter that is less than or equal
to zero.
8517 The program specified a paramsmax parameter that is less than or
equal to zero.
Table 4-2. SQLCAGETINFOLIST Procedure Item Codes (page 2 of 2)
Item
Code
Size (in
bytes) Description