INFORMIXDIR

 

Specifies the directory, which contains subdirectories in which your Informix client is installed.

 

Syntax:

 

INFORMIXDIR=<path>

 

Usage:

 

The INFORMIXDIR environment variable specifies the directory, which contains subdirectories in which your Informix product files are installed.

 

To be able to connect to Informix database you should always set INFORMIXDIR. Verify that INFORMIXDIR is set to the full path name of the directory in which you installed your database server. If you have multiple versions of a database server, set INFORMIXDIR to the directory with the required version. If the Informix server is not installed locally, specify the path to the Informix database driver in INFORMIXDIR.

 

INFORMIXDIR applies at runtime (inet.env) and at compilation (env.properties). You can set INFORMIXDIR in system environment variables but it is not recommended unless you have experience in such modifications.

 

Example:

 

Sets the default path for INFORMIXDIR on UNIX:

 

INFORMIXDIR=/opt/IBM/informix

 

 

Related articles:

CONNECT TO

INFORMIXPASS

LOGNAME

Setting up Informix connection