Target

STD.System.Job.Target ( )

Return: Target returns a VARSTRING value.

The Target function returns the name of the cluster running the workunit. Not supported on Roxie clusters. This name is used by #WORKUNIT or the ecl command line utility to specify the target cluster for a workunit.

Example:

IMPORT STD;
A := STD.System.Job.Target();
OUTPUT(A);