Set the DBPATH Environment Variable
The DBPATH environment variable is used for 2 purposes.
- For users of Informix SE, this specifies the paths to search for the physical database files
- The paths to search for form files when using an OPEN FORM or OPEN WINDOW ... WITH FORM statement
The path should be specified in the manner used by the host operating system (The Informix documentation claims that it should take the UNC format, but this has proven to not be the case). So, windows users could set:
set DBPATH=c:\my database\test;d:\my forms
and Unix/Linux users should do (for example):
DBPATH=/usr/database:/usr/forms
export DBPATH