Home | Previous Page | Next Page   Environment Variables > Environment Variables >

ONCONFIG

The ONCONFIG environment variable specifies the name of the active file that holds configuration parameters for the database server. This file is read as input during the initialization procedure. After you prepare the ONCONFIG configuration file, set ONCONFIG to the name of this file.

Read syntax diagramSkip visual syntax diagram>>-setenv--ONCONFIG--filename----------------------------------><
 
filename
is the name of a file in $INFORMIXDIR/etc that contains the configuration parameters for your database.

To prepare the ONCONFIG file, make a copy of the onconfig.std file and modify the copy. It is recommended that you name the ONCONFIG file so that it can easily be related to a specific database server. If you have multiple instances of a database server, each instance must have its own uniquely named ONCONFIG file.

To prepare the ONCONFIG file for Extended Parallel Server, make a copy of the onconfig.std file if you are using a single coserver configuration or make a copy of the onconfig.xps file if you are using a multiple coserver configuration. You can use the onconfig.std file for a multiple coserver configuration, but you would have to add additional keywords and configuration parameters such as END, NODE, and COSERVER, which are already provided for you in the onconfig.xps file.

If the ONCONFIG environment variable is not set, the database server uses configuration values from either the $ONCONFIG file or the $INFORMIXDIR/etc/onconfig file.

For more information on configuration parameters and the ONCONFIG file, see the IBM Informix: Administrator's Reference.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]