Skip to main content

LOCAL

LOCAL(data)

dataThe name of a DATASET or INDEX attribute.
Return:LOCAL returns a record set or index.

The LOCAL function specifies that all subsequent operations on the data are performed locally on each node (similar to use of the LOCAL option on a function). This is typically used within an ALLNODES operation. Available for use only in Roxie.

Example:

ds := JOIN(SomeData,LOCAL(SomeIndex), LEFT.ID = RIGHT.ID);

See Also: ALLNODES, THISNODE, NOLOCAL