OCI_olog

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_olog
   (  value OCI_Handle_type lda,
      value OCI_HostData_type hda,
      value string uid,
      value integer uidl,
      value string pswd,
      value integer pswdl,
      value string conn,
      value integer connl,
      value integer mode
   )


Purpose

This function establishes a connection between an OCI program and an Oracle database.

Input arguments:

Example:

  set RetCode to OCI_olog
     (  ConnectionHandle,
        HostData,
        "my_account",
        OCI_NTS,
        "my_password",
        OCI_NTS,
        "my_server",
        OCI_NTS,
        OCI_LM_DEF
     )