MSG
Command | Parameters |
---|---|
MSG | 'messageText' [TARGET(targetName)] |
The following table describes the parameters:
Parameter | Function | Notes |
---|---|---|
'messageText' | Text of the message to issue | Maximum length is 252 bytes. |
TARGET | Target system name | Length is 1-8 alphanumeric characters. Valid target names are defined in the BBIJNT00 member of the BBPARM data set. |
Condition codes are listed in the following table:
Value | Description |
---|---|
0 | Command was executed successfully. |
8 | NODE is not found when TARGET is used (check BBINOD00 in BBPARM). |
12 | TARGET is not found when target is used (check BBIJNT00 in BBPARM). |
16 | NODE is not available. |
Example
This example sends a message to the BBI-SS PAS monitoring the target named CICSPRDA. The message is logged on the remote Journal and no entry is made on the originating system's Journal.
"IMFEXEC MSG 'MANUFACTURING DATABASE IS OFFLINE' TARGET(CICSPRDA)"
CLIST example: