The SndStsMsg procedure sends a status message.
The SndStsMsg procedure uses the user-supplied text to compose and then send a program message type *STATUS to program queue *EXT.
msgKey SndMsg( szMsgText 1024A Const Varying ) |
|
See also: SndMsgID, SndSMsg, GetMsgText, GetMsgInfo |
The return value is the message key of the message once it is sent.
C callp SndStsMsg('Starting end of day process.')
In this example the message text 'Starting end of day process.' is sent as a status message to the external message queue.