11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DescriptionThis page describes the legacy function $ZUTIL(67,9), which has been superseded by theSYS.Process class methods. It is described here for compatibility with legacy applications.$ZUTIL(67,9,pid) returns the number of global references for the specified process as aninteger. The System Management Portal provides a Processes option, which list the numberof global references for each running process.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,9) returns a valueof zero.SYS.Process MethodsYou can get the same process information using methods of the SYS.Process class, as shownin the following example:ZNSPACE "%SYS"WRITE ##CLASS(SYS.Process).%OpenId($JOB).Global<strong>Reference</strong>sGet()See Also• $JOB special variable$ZUTIL(67,10) (legacy function)$ZUTIL(67,10) (legacy function)Returns the job type of the specified process.$ZUTIL(67,10,pid)$ZU(67,10,pid)ParameterspidThe process ID number.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 777

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

Saved successfully!

Ooh no, something went wrong!