SQL/MP Programming Manual for COBOL

SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for COBOL529758-003
5-21
SQLCAGETINFOLIST
10 2 Syntax error location. If there was no syntax error,
SQL returns -1.
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.
SQL/MP returns -1 if there are no parameters.
26 2 Number of parameters for this error.
Item Code Size (Bytes) Description