fgl_report_configureDistributedEnvironment
Configure the environment in the case of distributed processing.
Syntax
fgl_report_configureDistributedEnvironment(
FGLDIR STRING,
FGLPROFILE STRING,
FGLRESOURCEPATH STRING,
DBPATH STRING )
- FGLDIR specifies the value of the environment variable
FGLDIR
. This parameter is optional; pass a value of NULL if you don't want to set its value. The default value is the process environment variable value. - FGLPROFILE specifies the value of the environment variable
FGLPROFILE
. This parameter is optional; pass a value of NULL if you don't want to set its value. The default value is the process environment variable value. - FGLRESOURCEPATH specifies the value of the environment variable
FGLRESOURCEPATH
. This parameter is optional; pass a value of NULL if you don't want to set its value. The default value is the process environment variable value. For more information on setting FGLRESOURCEPATH, see Setting up local distributed mode or Setting up remote distributed mode. - DBPATH specifies the value of the environment variable
DBPATH
. This parameter is optional; pass a value of NULL if you don't want to set its value. The default value is the environment process environment variable value.
Usage
Configure the environment. It is intended for the case of distributed processing with a server running on a different physical machine with different resource paths. It is not necessary to call this function if the daemon is running on the local machine or if the remote machine has identical resource directories.
For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.