getLocus()

Returns a value that indicates where the UDX is currently executing.

The values returned by getLocus() are one of the following values.
DBOS The UDX is running on the host system.
SPU The UDX is running in parallel on the SPUs.
POSTGRES The UDX is in the compile step (not yet executing).
NZLUA The code is being executed outside of the Netezza database using the nzlua command line.