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(94)$ZUTIL(94)Broadcasts a message to a specified process.$ZUTIL(94,pid,message,timeout,noxy)$ZU(94,pid,message,timeout,noxy)ParameterspidmessagetimeoutnoxyA process ID number.The message to send, specified as a quoted string.Optional — An integer specifying the number of seconds to wait beforetimeout. If omitted, no timeout occurs.Optional — A boolean value specifying whether the $X and $Y valuesare to be modified in the terminal process receiving the message. If 0,$X and $Y are updated. If 1, $X and $Y are not updated. The default is0. This parameter does not apply to OpenVMS systems, which do notupdate $X and $Y following a broadcast message.DescriptionUse $ZUTIL(94) to send a message to the principal device of the process you indicate.$ZUTIL(94) passes the message to the target process. The target process then writes themessage to its principal output device. The target process must be running <strong>Caché</strong>. If you senda message to your own process, you do not see the message on the screen of your principaldevice.$ZUTIL(94) does not add any carriage controls to the message it sends. To include any carriagecontrol (carriage returns or line feeds), you must include them in the message, using$CHAR(10) and $CHAR(13).$ZUTIL(94) complements $ZUTIL(9). $ZUTIL(9) sends a message to a specified devicewhile $ZUTIL(94) sends a message to the principal device of a specified process. Be surethat you use the right function for the right purpose. If you send a process id to $ZUTIL(9)or a terminal device name to $ZUTIL(94), you receive a error.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 693

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

Saved successfully!

Ooh no, something went wrong!