.
contact contact

What is a VOLUME

 
.
 

Title: What is a VOLUME
Document: 1074178023
Author: Michael Marxmeier (mike@marxmeier.com)
Keywords: volume


Q: what is a VOLUME

A: A volume (in the language) is basically a symbolic name that points to a directory.
A VOLUME is defined (globally) in the eloq.config file and may also be defined specific to a group or user.

In the /etc/opt/eloquence6/eloq.config file you find the definition:

VOLUME SYSTEM /opt/eloquence6/share/prog
This associates the name "SYSTEM" with the specified location. Now you can either use RUN "QUERY,SYSTEM" or RUN "/opt/eloquence6/share/prog/QUERY", both are identical.

Whenever a file name is specified (in the language), and a comma is present, the volume definition is used. When no volume is specified the language runtime will access the file relative to the default volume (that could be set by the MSI statement or config). If an absolute name (leading slash) is specified, Eloquence uses the specified path.

Some background:

The volume is an Eloquence legacy. Eloquence was initially built to allow moving HP250 applications to HP-UX. The HP250 used a volume label as a symbolic name for a disk device.
Volume labels in Eloquence were implemented to reference a location in the file system. As it is a convenient way to make applications independend on the specific location in the file system the concept was kept.

NOTE: A VOLUME is different from a VOLUME file that is used by the database server.

 
 
.
 
 
  Privacy | Webmaster | Terms of use | Impressum Revision:   
  Copyright © 1995-2002 Marxmeier Software AG