OCI_odefinps

function

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

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
     )