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

sqlipOpenNextCursor

This method is called if the sqlipGetInfo reports that the statement has more results. If the statement has more results pending, then move to the next result. A call to sqlipGetColspec after calling sqlipOpenNextCursor returns the description of this new cursor.
int sqlipOpenNextCursor(xo_int piNumResRows);
 
Table 102: Parameters for sqlipOpenNextCursor
Parameter
Type
Description
OUTPUT
 
 
piNumResRows
xo_int
Number of rows in the cursor or the number of rows affected for data modifying query.
If the statement results in a cursor and the number of rows in the cursor cannot be determined, then return –1.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_ERROR – error opening next cursor
OADS_NO_DATA – no additional cursors are available

See also 

sqlipGetColspec