Send Status Message<

SndStsMsg

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

Parameters

szMsgText 
[input VChar(1024) ]  The message text to be send as a status message. Any text up to 1024 bytes may be specified. Although anything beyond the typical 78-byte display capacity will be truncated.
 
 

Return Value

The return value is the message key of the message once it is sent.

Remarks

 

     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.