FGLRESOURCEPATH

Defines search path for resource files.

Usage

The FGLRESOURPATH environment variable is used to define the search paths for:

  1. Form files loaded (.42f),
  2. Message files (.iem),
  3. Action defaults files (.4ad),
  4. Presentation styles files (.4st),
  5. Start menu files (.4sm),
  6. Toolbar files (.4tb),
  7. Topmenu files (.4tm),
  8. Compiled localized strings files (.42s).

For compatibility with Informix® 4GL, DBPATH is used by default to search for resource files such as form files and XML files used by the program. However, DBPATH is also used by the Informix database software to locate databases: Informix Dynamic Servers uses DBPATH to let you specify fallback servers if INFORMIXSERVER is not available, and former Informix Standard Engine needs DBPATH to find .dbs database files. This can be a problem when connecting from a machine where path format is not the same as on the remote database server: It is not possible to mix UNIX™ and DOS path formats in DBPATH. To work around this Informix limitation, FGLRESOURCEPATH can be used instead of DBPATH to specify the directories of program resource files. You are then free to define DBPATH as Informix requires.

The path separator is platform specific ( ":" on UNIX platforms and ";" on Windows™ platforms).

By the default, the runtime system looks for resource files is the current directory.

UNIX example:
DBPATH="/usr/informix/data"
export DBPATH
FGLRESOURCEPATH="/user/forms1:/user/forms2:/usr/strings/french"
export FGLRESOURCEPATH
Windows example:
set DBPATH=/usr/informix/data 
set FGLRESOURCEPATH=C:\user\forms1;C:\user\forms2;C:\usr\strings\french