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.

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,13) 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).ClientExecutableNameGet()See Also• $JOB special variable$ZUTIL(67,14) (legacy function)$ZUTIL(67,14) (legacy function)Returns the operating system running a client application.$ZUTIL(67,14,pid)$ZU(67,14,pid)ParameterspidThe process ID number of a <strong>Caché</strong> client application.DescriptionThis page describes the legacy function $ZUTIL(67,14), which has been superseded by theSYS.Process class methods. (Refer to the <strong>Caché</strong> Class <strong>Reference</strong> for further details.)$ZUTIL(67,14) is described here for compatibility with legacy applications.$ZUTIL(67,14,pid) returns the operating system information for a client application as ahexadecimal byte string. Use the ZZDUMP command to display this information.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 783

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

Saved successfully!

Ooh no, something went wrong!