$UpdLoc: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Automatically generated page update  | 
				|
(No difference) 
 | |
Latest revision as of 17:53, 31 July 2014
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