$UpdLoc

From m204wiki
Revision as of 13:18, 20 April 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $UPDLOC function is used with Parallel Query Option/204 to determine the location name of the current update unit.

$UPDLOC takes no arguments, and returns a string indicating the location of the update unit as follows:

  • If there is no update unit currently in effect, the string is null.
  • For a local update, the return string is 'LOCAL'.
  • For a remote update, the return string is the location name of the node where the update is occurring.

Example

%X = $UPDLOC IF %X <> THEN PRINT 'UPDATE UNIT IS IN PROGRESS AT LOCATION ' WITH %X END IF