function
| Library: Oracle Call Interface database support (OMOCI legacy) Include: omoci.xin | Returns: Returns OCI_SUCCESS if the function completes without error. | 
define external integer function OCI_ocan ( value OCI_Handle_type cursor )
This function cancels a query after the desired number of rows has been fetched.
Input argument:
Example:
set RetCode to OCI_ocan( Cursor )