swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax     Other Library Functions  
OMX  

OCI_Handle_type

 
 

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


Purpose

The OCI_Handle_type OMX component, in conjunction with the OCI_Array_type and OCI_HostData_type OMX components, allows you to access an Oracle database from within an OmniMark program.

The OmniMark OCI dynamic link library file ("omoci.dll" or "omoci.so") creates the OCI_Handle_type OMX component. The related include file ("omoci.xin") defines the interface to that component. To use OCI_Handle_type components in your program, you must include the following declaration and include statement in your program:

     include "omoci.xin"

Within your program, you can create as many instances of the OCI_Handle_type component as you require by declaring global and local variables of type "OCI_Handle_type". For example:

     include "omoci.xin"
     
     global OCI_Handle_type my-ocihandle-1
     global OCI_Handle_type my-ocihandle-2
     
     process
        local OCI_Handle_type my-ocihandle-3
        local OCI_Handle_type my-ocihandle-4

Once you have declared your OCI_Handle_type OMX variables, you manipulate them using the functions in the OmniMark OCI function library.

The OCI_Handle_type OMX component is not copyable. This means that when you set the value of one OCI_Handle_type OMX variable to the value of another OCI_Handle_type OMX variable, you end up with two variables pointing at the same external object. You are able to manipulate both variables, but you're performing those manipulations on the same external object, whether you use the original OCI_Handle_type OMX variable or its copy.

    Related Syntax
   OCI_obindps
   OCI_obndra
   OCI_obndrn
   OCI_obndrv
   OCI_ocan
   OCI_oclose
   OCI_ocof
   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_GetErrorCode
   OCI_ocom
 
  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.