SQL/MP Programming Manual for C
SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for C—429847-008
5-12
SQLCAGETINFOLIST
11 2 Maximum length, in bytes, of the system procedure that
sets the first error or warning.
12 2 Actual length, in bytes, of the system procedure that sets
the first error or warning.
13 (in item code 12) Location of the system procedure that sets the first error
or warning.
14 2 Maximum length, in bytes, of the parameter buffer.
15 2 Used bytes in the parameter buffer.
16 (in item code 15) Parameter buffer.
17 2 Maximum length, in bytes, of the source name buffer.
18 2 Used bytes in the source name buffer.
19 (in item code 18) Source name buffer.
20 4 Number of processed rows.
21 8 Estimated query cost.
22 2 SQL error or warning number. Error numbers are
positive, warning numbers are negative.
23 2 Subsystem ID: First byte is 0. The second byte can be
one of these letters:
S = SQL/MP component:
SQL compiler
SQL catalog manager
SQL executor
SQLUTIL process
SQLCI or SQLCI2 process
F = SQL file system
D = DP2 disk process
G = NonStop OS
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.
NonStop SQL/MP 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. Each string
is delimited by a zero.
29 (in item code 28) Buffer that contains parameters, delimited by a zero.
Each parameter begins on an even word boundary and
is preceded by 2 bytes.
Table 5-4. SQLCAGETINFOLIST Procedure Item Codes (page 2 of 2)
Item Code Size (Bytes) Description