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.

$ZUTIL(67,5) (legacy function)pstatebits5121024DefinitionCluster slave job waiting for net answer.The dead job has an open transaction.ParameterspidA ten-digit process ID. 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,4) returns a valueof zero.SYS.Process MethodsYou can get the pstate process information using a method of the SYS.Process class, as shownin the following example:ZNSPACE "%SYS"WRITE ##CLASS(SYS.Process).%OpenId($JOB).StateGet()See Also• $JOB special variable• see “Display Process Information” in the Managing <strong>Caché</strong> chapter of the <strong>Caché</strong> SystemAdministration Guide$ZUTIL(67,5) (legacy function)Returns the routine name of a specified process.$ZUTIL(67,5,pid)$ZU(67,5,pid)ParameterspidThe process ID number.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 771

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

Saved successfully!

Ooh no, something went wrong!