OAVERSION
oaversion returns version information to an Omnidex application.
Syntax
oaversion(instance, options, status, node, num_versions, versions)
instance -- Identifies the
unique connection to a catalog established by calling oaconnect.
Instance is a 32-bit signed integer passed by value.
options -- Is a 256-byte
character string, passed by reference, and terminated by a
semicolon or null character. It indicates the version information
that oaversion returns.
status -- Indicates the success
or failure of the oaversion routine. A zero status.error means
a successful call to oaversion. The status structure is passed
by reference and contains fourteen 32-bit signed integers,
followed by a 36-character buffer.
node -- For host applications, must contain
a semicolon or null terminator. For client applications, node may contain
either a host name (as declared in the Client Data Source file) terminated
by a semicolon or null, or only a semicolon or null terminator.
For client applications, if node contains a host name, oaversion
returns software information from the server; if node contains
only a semicolon or null terminator, oaversion returns software
information from the client.
version_num -- The number
of versions ( version structures) that oaversion is returning
to the calling application. Version_num is a 32-bit integer.
version -- a structure containing
all of the version numbers as they are returned to the calling
application. Character types are 32-byte character values
left justified and padded with blanks.
TYPEDEF STRUCT OAVERSION
{ |
|
char
|
tag[16]; |
char
|
product[64[; |
int
|
version_no; |
char
|
version[256]; |
} oaversion_t; |
|
Options
ALL -- returns the version
numbers for all OMNIDEX drivers and routines. This is the
default if no option is specified.
ARGS -- returns program arguments
(if available)
BUILD -- returns build number
CWD -- returns current working
directory (if available)
ENVVARS Returns environment
variable information
OA -- returns the version
number for the OmniAccess routines
IA -- returns the version
number for the IndexAccess routines
DA -- returns the version
numbers for all DataAccess drivers
DA_FFL -- returns the version
number for the flat file DataAccess driver
DA_IMG -- returns the version
number for the TurboIMAGE™ DataAccess driver
DA_INF -- returns the version
number for the INFORMIX™ DataAccess driver
DA_ISM -- returns the version
number for the ISAM™ DataAccess driver
DA_ORA -- returns the version
number for the Oracle™ DataAccess driver
DA_RMS -- returns the version
number for the RMS™ DataAccess driver
DA_SYB -- returns the version
number for the SYBASE™ DataAccess driver
EA -- returns the version
number for the Environment Access driver
HARDWARE -- returns hardware
platform (if available)
LOGIN -- returns current
login (if available)
LIBPATH -- returns shared
library path (if available)
MEMORY -- returns amount
of physical memory (if available)
NODENAME -- returns network
node name (if available)
OAGLOBAL -- returns value
of OAGLOBAL environment variable
ODXLIB -- returns value of
OMNIDEX_LIBS environment variable
ODXREG -- returns value of
OMNIDEX_REG environment variable
OS -- returns operating system
and version (if available)
PACKAGE -- returns package
letter
PATCHES -- returns patch
information
PROGRAM -- returns name and
path of program currently executing (if available)
RELEASES -- returns information
on OmniAccess releases
SYSINFO -- returns system
information
TIMESTAMP -- Returns compilation
timestamp
TMPDIR -- returns temporary file directory
(if available)
Example
Top
|