DISC

Contents | What's New | Quick Links

 

OmniAccess API

Introduction

Software Installation

Concepts and Design

Designing Applications

Omnidex Environments

SQL Reference

Omnidex API's

Utilities

Interfaces

Performance Guide

Troubleshooting Guide

Appendix

 

 

OADISCONNECT

 

oadisconnect terminates the catalog connection and closes the environment established by oaconnect. oadisconnect automatically closes any open cursors and all index files. Omnidex Client applications should always call oadisconnect before they terminate to free up the memory used by cursors and instances, and to close any socket connections to the server.

Before calling oadisconnect, it is recommended that your program close any unused cursors.

Related Links

Related Links

 

Syntax

oadisconnect (instance, options, status)

instance -- Identifies a unique connection to a catalog previously established by oaconnect. Instance is a 32-bit signed integer passed by value.

options -- Is a character string, passed by reference, that indicates the action or actions for oadisconnect to take. Terminate the option list with a semicolon or a null character.

status -- Indicates the success or failure of the oadisconnect routine. A zero in status word 1 indicates a successful oadisconnect call. The status structure is passed by reference and contains fourteen 32-bit signed integers, followed by a 36-character buffer.

 

top

 

Options

FLUSH={[EA][,DA][,IA]} -- flushes the entire cache from memory for any or all of the EnvironmentAccess (EA), DataAccess (DA) or IndexAccess (IA) cache established through oaconnect. This is the default for OMNIDEX Client applications.

 

top

 

Example

 

top

Dynamic Information Systems Corporation - Omnidex Version 3.8 Build 6 J15.03-Copyright © 2003

DISC | Documentation Home