SQL/MP Programming Manual for C
SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for C—429847-008
5-11
SQLCAGETINFOLIST
Table 5-3 lists the SQLCAGETINFOLIST error codes.
Table 5-4 lists the codes you can specify in the item_list array.
Table 5-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 more recent than 
the version of the SQLCAGETINFOLIST procedure. 
8514 Insufficient buffer space is available. 
8515 The program specified an error entry index less than zero or greater than the 
number of errors.
8516 The program specified a names_max parameter less than or equal to zero.
8517 The program specified a params_max parameter less than or equal to zero. 
Table 5-4. SQLCAGETINFOLIST Procedure Item Codes (page 1 of 2)
Item Code Size (Bytes) Description
1 2 Version of the SQLCA structure. 
2 2 Maximum number of errors or warnings the SQLCA can 
represent.
3 2 Actual number of errors or warnings.
4 2 Whether there were more errors or warnings than the 
SQLCA had space to store: 
0 = There were no more errors or warnings.
nonzero = There were more errors or warnings. 
5 2 Whether there were more parameters than the SQLCA 
had space to store:
0 = There were no more parameters.
nonzero = There were more parameters. 
6 2 Maximum length, in bytes, of the name of the paragraph 
in which the SQL statement appears.
7 2 Actual length, in bytes, of the name of the paragraph in 
which the SQL statement appears.
8 (in item code 7) Program ID of the program in which the SQL statement 
appears.
9 4 Source code line number of the SQL statement that 
caused an error.
10 2 Syntax error location. If there was no syntax error, SQL 
returns -1.










