OCI_ogetpi

function

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

Returns: OCI_SUCCESS if the function completes without error.


Declaration
define external integer function OCI_ogetpi
   (  value OCI_Handle_type cursor,
      modifiable integer piecep,
      modifiable stream ctxpp,
      modifiable integer iterp,
      modifiable integer indexp
   )


Purpose

This function returns information about the next chunk of data to be processed as part of a piecewise insert, update, or fetch.

Input argument:

Output arguments:

Example:

   set RetCode to OCI_ogetpi
           (  Cursor,
              Piece,
              ContextValue,
              Iteration,
              Indexp
           )