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(96,10)$ZUTIL(96,10)Returns the calling routine namespace.$ZUTIL(96,10)$ZU(96,10)DescriptionYou can return the name of the namespace of the calling routine of the last DO or user-definedcall made to the current routine by issuing a call to this function.If no calling routine exists, $ZUTIL(96,10) returns the null string.$ZUTIL(96,14)Returns the current device type.$ZUTIL(96,14)$ZU(96,14)DescriptionYou can return the current device type by issuing a call to this function. If the current inputand output devices are not the same, $ZUTIL(96,14) returns the current input device.The device ID of the current device is found in the $IO special variable. The USE commandestablishes a device as the current device.Return ValuesThe following table lists the values that $ZUTIL(96,14) can return and their meanings:Value012345Device TypeSequential file (see Sequential File I/O in <strong>Caché</strong> I/O Device Guide.)Terminal (see Terminal I/O in <strong>Caché</strong> I/O Device Guide.)Spool device (see The Spool Device in <strong>Caché</strong> I/O Device Guide.)Magnetic tape (see Magnetic Tape I/O in <strong>Caché</strong> I/O Device Guide.)System operator's consolePseudo device (device numbers 20 to 46)<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 697

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

Saved successfully!

Ooh no, something went wrong!