fgl_report_configureDistributedProcessing

Configure processing via a dedicated server.

Syntax

fgl_report_configureDistributedProcessing(
   host STRING,
   port INTEGER )
  1. host specifies the host name.
  2. port specifies the port number.

Usage

Specify the server where the Genero Report Engine is running in server mode. The engine is started on the remote machine via the command $GREDIR/bin/greportwriter -l port.

Important:

When you configure a connection to the local machine, use the string "localhost" or "127.0.0.1" for the host.

Note:

You can also configure the distributed environment using the GRESERVER environment variable. If both GRESERVER and fgl_report_configureDistributedProcessing() are used, fgl_report_configureDistributedProcessing() takes higher precedence.

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.