Previous Topic: #ROLLBAK ExampleNext Topic: #SENDMSG Syntax


#SENDMSG—sends a message to another terminal or user

The #SENDMSG statement sends a message to another terminal or user, or to a group of terminals or users defined as a destination during system generation. The #SENDMSG statement does not send messages directly from the message area of the dictionary. Rather, the system places each message in a queue and sends the message to the appropriate terminals when it can do so without disrupting executing tasks. Normally, the system sends queued messages to a terminal the next time the ENTER NEXT TASK CODE message is displayed.

Note: For more information about message destinations, see the System Generation Guide.