skip to main content
IP API Reference for Java : Statement-level Methods for Java : sqlipOpenOutputCursor
 

sqlipOpenOutputCursor

If the statement is a stored procedure call and it has output parameters and/or output return value, then this method returns a cursor for accessing this information. The cursor will contain a single row with one column for the return value and one column for each output parameter.
A call to sqlipGetColspec after calling this method returns the description of the output cursor.
int sqlipOpenOutputCursor(xo_int piNumResRows);
 
Table 104: Parameters for sqlipOpenOutputCursor 
Parameter
Type
Description
OUTPUT
 
 
piNumResRows
xo_int
Number of rows in this cursor. Should be 1 or  0.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_ERROR

See also 

sqlipGetColspec