Only Database Specified
The dbname option establishes a connection to the default database server or to another database server in the DBPATH environment variable. It also locates and opens the specified database. (The same is true of the db_var option if this specifies only a database name.)
If you specify only dbname, its database server is read from the DBPATH environment variable. The database server in the ONEDB_SERVER environment variable is always added before the DBPATH value.
setenv ONEDB_SERVER srvA setenv DBPATH //srvB://srvC
set ONEDB_SERVER = srvA set DBPATH = //srvA://srvB://srvC
//srvA://srvB://srvC
The application first establishes a connection to the database server that ONEDB_SERVER specifies. The database server uses parameters in the configuration file to locate the database. If the database does not reside on the default database server, or if the default database server is not online, the application connects to the next database server in DBPATH. In the previous example, that database server would be srvB.