11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ZUTIL(67,6) (legacy function)$ZUTIL(67,6) (legacy function)Returns the namespace name for a specified process.$ZUTIL(67,6,pid)$ZU(67,6,pid)ParameterspidThe process ID number.DescriptionThis page describes the legacy function $ZUTIL(67,6), which has been superseded by theSYS.Process class methods. (Refer to the <strong>Caché</strong> Class <strong>Reference</strong> for further details.)$ZUTIL(67,6) is described here for compatibility with legacy applications.$ZUTIL(67,6,pid) returns the name of the namespace in which the process in running. If theprocess is not running in a namespace, it returns a null string.The namespace names (Nspace) of all currently running processes are listed in the Processesoption of the System Management Portal. The namespace name of the current process isstored in the $ZNSPACE special variable.The maximum namespace string length is 16 characters. Namespace names are not casesensitive.<strong>Caché</strong> displays namespace names in all capital letters.ParameterspidA process ID number. The process ID of the current process is returned by the $JOB specialvariable. The System Management Portal provides a Processes option, which list the pids ofall running processes. If you specify a non-existent process, $ZUTIL(67,6) returns a valueof zero.ExampleThe following example compares the namespace names returned by $ZUTIL(67,6) and$ZNSPACE; in this case, the results should be identical:<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 773

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!