CL Command Reference - SNDBRKMSG
CL Command List > SNDBRKMSG Reference
Description:
The Send Break Message (SNDBRKMSG) command is used to send an immediate message to one or more work station message queues. An immediate message is a message that is not predefined and is not stored in a message file. The command causes the message to be delivered always in break mode. The DSPMSG display is shown for the message when it is received, regardless of the setting of the message queue¡¯s delivery mode, severity, and break handling program. However, the message may not be displayed in some cases, depending on the BRKMSG job attribute. This command is primarily intended for the system operator¡¯s use.
Restrictions:
1. This command can be used to send break messages to work station message queues only.
2. This command cannot send inquiry messages (specified by MSGTYPE(INQ)) to multiple work stations.
Examples:
Example 1: Sending a Message
SNDBRKMSG MSG(¡¯Inventory application shuts down at 4:00 PM.¡¯)
This command sends the message ¡¯The inventory application shuts down at 4:00 pm today.¡¯ to all work station message queues. If the work station is signed on, the message will be delivered in break mode regardless of the delivery attribute setting of those message queues. The message is also added to the work station message queues of those work stations that are not signed on.
Example 2: Sending an Immediate Message
SNDBRKMSG MSG(¡¯Your printed output is ready.¡¯)
TOMSGQ(GEORGEMSGQ)
This example shows a typical use of the SNDBRKMSG command by the system operator to send an immediate message to a work station user.