2 Getting Started

Running Query

Run Query by typing the following HP-UX command:

$eloqcore QUERY,SYSTEM

Specifying a Database

As Query begins execution it displays the following prompt, asking you to enter the name of the database and to identify the volume on which it is located:

   Enter the database name and volume:
When this prompt is displayed, enter in the database name and the volume specifier of the storage device, in the following form:

   database name[volume spec]
If you do not provide a volume specifier when entering the name of the database, Query assumes that the database resides on the default MSI.

Query next finds the database you specified and prepares it for use. If for some reason Query cannot find the database you specified, it displays the following error message:

   DATABASE NOT FOUND OR IN USE
If this should happen, check that you have entered the correct database name and volume specifier. If you have entered the information correctly and Query still displays the error message, contact your System Administrator for assistance.

Note that all error messages Query displays are described in Appendix B.

NOTE: QUERY will use the directory /tmp for temporary file storage. If this is not available, the System Administator should create /tmp, and grant read/write access to QUERY.

Examples

Assume that when starting Query, you executed the following commands:

   MSI "DBASE" RETURN
   RUN "QUERY,SYSTEM" RETURN
Query then displays a prompt, asking you to enter the name of the database and to identify the volume on which the database resides. If the database is named SAD and is stored on the volume whose label is DBASE, you need only type the following:

   SAD RETURN
If the SAD database is stored in a directory whose volume name is FILES (not the default MSI), you would enter the following:

   SAD, FILES RETURN

Specifying a Password

Once you have supplied the name of the database, Query asks you to enter your password by displaying the following prompt:

   Enter the password:
Type your password and then press RETURN; the characters you type in response to this prompt are not displayed.

For example, if your password is OPERATOR, then you would type the following:

   OPERATOR RETURN
After you press RETURN, the password prompt is cleared from the display; you are now ready to use the database.

NOTE: The database name, volume, and password must be specified before you use any Query command, except the DO command. (The DO command is described in page 34 .)


Eloquence Query Manual - 19 DEC 2002