SQL Programming Manual for TAL

System Procedures
HP NonStop SQL Programming Manual for TAL527887-001
4-9
SQLCAGETINFOLIST
Disk process (DP2)
error returned value
INT
returns the outcome of the operation. Zero (0) indicates a successful operation.
For more information on the description of other return values, see Table 4-3 on
page 4-12.
sqlca^ input
INT .EXT
is a pointer to the SQLCA structure. The TAL compiler automatically declares the
SQLCA structure when you specify the INCLUDE SQLCA directive.
itemlist input
INT .EXT
is an array of item codes that describes the information you want returned in the
result structure. For more information on the list of these codes, see Table 4-2 on
page 4-11.
numberitems input
INT
is the number of items you specified in the itemlist array.
result output
INT .EXT
is a structure you define to receive the requested information. The items are
returned in the order you specified in itemlist. Each item is aligned on a word
boundary.
error := SQLCAGETINFOLIST ( sqlca^ ! i
, itemlist ! i
, numberitems ! i
, result ! o
, resultmax ! i
, [ errorindex ] ! i
, [ namesmax ] ! i
, [ paramsmax ] ! i
, [ resultlen ] ! o
, [ erroritem ] ) ; ! o