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, the ecl command line utility, or the eclplus command line utility to specify the the target cluster for a workunit.

Example:

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