You must set the following environment variables before you access the database server or perform most administrative tasks:
The INFORMIXDIR environment variable specifies the directory where the product files are installed. Set INFORMIXDIR to the directory where you installed your Informix database server.
The PATH environment variable specifies the location of executable files ($INFORMIXDIR/bin).
The ONCONFIG environment variable specifies the name of the active ONCONFIG configuration file. The next section describes how to prepare the ONCONFIG file. After you prepare the ONCONFIG file, set the ONCONFIG environment variable to the name of the file.
Users running client applications do not need to set the ONCONFIG environment variable.
If the ONCONFIG environment variable is not present, the database server uses configuration values from the file $INFORMIXDIR/etc/onconfig.
The INFORMIXSERVER environment variable specifies the name of the default database server. It can have one of the following values:
In the coserver name, dbservername is the value that is assigned to the DBSERVERNAME configuration parameter in the ONCONFIG file, and coserver_number is the value assigned to the COSERVER configuration parameter for the connection coserver.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]