beautypg.com

Compaq AA-Q88CE-TE User Manual

Page 85

background image

CALL RTR_BROADCAST_EVENT

RTR> CALL RTR_BROADCAST_EVENT "Dollar is up"/EVENT_NUMBER=23
%RTR-S-OK, Normal successful completion

The following command broadcasts user event number 24 to all recipients
whose /RECIPIENT_NAME matches the DEALER% string (that is, DEALER1,
DEALER2, DEALERx). Note that only the event is broadcast, there is no
associated message.

RTR> CALL RTR_BROADCAST_EVENT /EVENT=24/RECIPIENT_SPEC=DEALER%
%RTR-S-OK, Normal successful completion

The following example shows a broadcast message containing two fields. The first
field is of type unsigned, entered as a hexadecimal number; the second field is of
type string.

RTR> CALL RTR_BROADCAST_EVENT /EVENT=24 0xFA9BC0 /TYPE_OF_
DATA=UNSIGNED/LENGTH=8,"This field of the message is a string"
%RTR-S-OK, Normal successful completion

RTR Command Line Interface 6–9