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.

Legacy Commands and FunctionsSET pid=$JOBIF $ZUTIL(67,6,pid)=$ZNSPACE {WRITE !,pid," is the current process" }ELSE {WRITE !,pid," is NOT the current process" }QUITSYS.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).NameSpaceGet()See Also• $JOB special variable• ZNSPACE command• $ZUTIL(5) Display or Switch Namespace function• $ZUTIL(90,4) Start Up in a Specified Namespace function• $ZUTIL(90,10) Test Whether a Namespace is Defined function• $ZNSPACE special variable• Configuring Namespaces in <strong>Caché</strong> System Administration Guide$ZUTIL(67,7) (legacy function)Returns the device name for the specified process.$ZUTIL(67,7,pid)$ZU(67,7,pid)ParameterspidThe process ID number.DescriptionThis page describes the legacy function $ZUTIL(67,7), which has been superseded by theSYS.Process class methods. It is described here for compatibility with legacy applications.774 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!