swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   OCI_obindps   OMDN

Library: omoci - Oracle Call Interface database support
Include: omoci.xin
Return type: Integer
Returns:       

Returns OCI_SUCCESS if the function completes without error.


Declaration

  define external integer function OCI_obindps
     (  read-only OCI_Handle_type cursor,
        value integer opcode,
        value stream sqlvar,
        value integer sqlvl,
        read-only OCI_Array_type pvctx,
        value integer progvl,
        value integer ftype,
        read-only OCI_Array_type indp,
        read-only OCI_Array_type alen,
        read-only OCI_Array_type arcode,
        value integer pv_skip,
        value integer ind_skip,
        value integer alen_skip,
        value integer rc_skip,
        value integer maxsiz,
        modifiable integer cursiz
     )


Purpose

This function is used to associate an opaque variable with a placeholder in an SQL or PL/SQL statement. Unlike older OCI bind calls, this function can be used to bind placeholders that are to be used in piecewise operations or in operations involving arrays.

Input arguments:

Output argument:

Example:

  set RetCode to OCI_obindps
     (  Cursor,
        OCI_PIECEWISE,
        ":Midi",
        OCI_NTS,
        OCI_NULL_ARRAY,
        40000,
        SQLT_LBI,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        0,
        0,
        0,
        0,
        OCI_NOPLSQL,
        DummyCtr
     )

        Other Library Functions
   OCI_GetArrayAsCounter
   OCI_GetArrayAsCounterShelf
   OCI_GetArrayAsStream
   OCI_GetArrayAsStreamShelf
   OCI_GetArrayAsString
   OCI_GetArrayElementCount
   OCI_GetArrayElementLen
   OCI_GetErrorCode
   OCI_IsVersionCompatible
   OCI_LibraryVersion
   OCI_obindps
   OCI_obndra
   OCI_obndrn
   OCI_obndrv
   OCI_ocan
   OCI_oclose
   OCI_ocof
   OCI_ocom
   OCI_ocon
   OCI_odefin
   OCI_odefinps
   OCI_odescr
   OCI_odessp
   OCI_oerhms
   OCI_oexec
   OCI_oexfet
   OCI_oexn
   OCI_ofen
   OCI_ofetch
   OCI_oflng
   OCI_ogetpi
   OCI_olog
   OCI_ologof
   OCI_onbclr
   OCI_onbset
   OCI_onbtst
   OCI_oopen
   OCI_oopt
   OCI_oparse
   OCI_orol
   OCI_osetpi
   OCI_SetArrayAsCounter
   OCI_SetArrayAsCounterShelf
   OCI_SetArrayAsStream
   OCI_SetArrayAsStreamShelf
   OCI_SetArrayAsString
   OCI_SetArraySize
 
----  

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

Generated: August 11, 2000 at 3:07:38 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.