OCI_odefin

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_odefin
   (  value OCI_Handle_type cursor,
      value integer pos,
      value OCI_Array_type buf,
      value integer bufl,
      value integer ftype,
      value OCI_Array_type indp,
      value OCI_Array_type rlen,
      value OCI_Array_type rcode
   )


Purpose

This function defines an output variable for a specified select-list item of an SQL query.

Input arguments:

Examples:

  set RetCode to OCI_odefin
     (  Cursor,
        1,
        Employee,
        100,
        SQLT_STR,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY
     )