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

OCI_odefinps

 
 

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

Returns: Returns OCI_SUCCESS if the function completes without error.


Declaration

define external integer function OCI_odefinps
   (  value OCI_Handle_type cursor,
      value integer opcode,
      value integer pos,
      value OCI_Array_type bufctx,
      value integer bufl,
      value integer ftype,
      value OCI_Array_type indp,
      value OCI_Array_type rlen,
      value OCI_Array_type rcode,
      value integer pv_skip,
      value integer ind_skip,
      value integer alen_skip,
      value integer rc_skip
   )


Purpose

This function defines an output variable for a specified select-list item in an SQL query. This call can also specify if an operation will be performed piecewise or with arrays of structures.

Input arguments:

Example:

  set RetCode to OCI_odefinps
     (  Cursor,
  	   OCI_STANDARD,
        1,
        Employee,
        100,
        SQLT_STR,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        100,
        0,
        0,
        0
     )

        Other Library Functions
   OCI_Array_type
   OCI_GetArrayAsCounter
   OCI_GetArrayAsCounterShelf
   OCI_GetArrayAsStream
   OCI_GetArrayAsStreamShelf
   OCI_GetArrayAsString
   OCI_GetArrayElementCount
   OCI_GetArrayElementLen
   OCI_GetErrorCode
   OCI_Handle_type
   OCI_HostData_type
   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.