SQL/MP Programming Manual for COBOL

SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for COBOL529758-003
5-22
SQLCAGETINFOLIST
Example 5-3 on page 5-23 shows a call to the SQLCAGETINFOLIST procedure that
returns these items:
The name of the procedure containing the SQL/MP statement that produced one or
more errors or warnings
The name length of the procedure name
The number of errors or warnings that occurred
The error code of the fifth error returned
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.
Item Code Size (Bytes) Description