Specifying a servername
About this task
You can set DBPATH to contain only database server names. This feature allows you to locate only databases; you cannot use it to locate command files.
The database administrator must include each database server mentioned by DBPATH in the $ONEDB_HOME/etc/sqlhosts file. For information about communication-configuration files and dbservernames, see your HCL OneDB™ Administrator's Guide and the HCL OneDB Administrator's Reference.
For
example, if ONEDB_SERVER is set to quality, you can
search for a database first on the quality database server
and then on the marketing database server by setting DBPATH, as
the following example shows:
setenv DBPATH //marketing
If you use DB-Access in this example, the names of all the databases on the quality and marketing database servers are displayed with the Select option of the DATABASE menu.