swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Other Library Functions  
function  

OCI_oopt

 
 

Library: Oracle Call Interface database support (OMOCI legacy)
Include: omoci.xin
Return type: Integer

Returns: OCI_SUCCESS if the function completes without error.


Declaration

define external integer function OCI_oopt
   (  value OCI_Handle_type cursor,
      value integer rbopt,
      value integer waitopt
   )


Purpose

This function sets rollback options for non-fatal Oracle errors involving multi-row "insert" and "update sql" statements. It also sets wait options (for example, whether to wait for locks) in cases where requested resources are not available.

Input arguments:

Example:

  set RetCode to OCI_oopt( Cursor, OCI_ROLLBACK_ROW, OCI_NOWAIT )

      Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.