skip to main content
IP API Reference for C/C++ : IP API for C/C++ : OASQLIP_open_output_cursor
 

OASQLIP_open_output_cursor

This function returns a cursor for accessing output parameters and/or output return values if the statement is a stored procedure call. The cursor contains a single row with one column for the return value and one column for each output parameter. Calling OASQLIP_get_numcols after calling this function returns the description of the output cursor.
int OASQLIP_open_output_cursor(
SQLIP_HSTMT sqlip_hstmt,
OADS_LEN * piNumResRows)
 
Table 40: Parameters for OASQLIP_open_output_cursor 
Parameter
Type
Description
INPUT
 
 
sqlip_hstmt
SQLIP_HSTMT
Statement handle.
OUTPUT
 
 
piNumResRows
OADS_LEN *
Number or rows in this cursor. The value should be 1 or 0.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_ERROR

See also 

OASQLIP_get_numcols