MSG


This command logs a message in the BBI-SS PAS Journal log.


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.

Warning

Note

Specifying a null variable for messageText causes an error.

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.

/* REXX */
"IMFEXEC MSG 'MANUFACTURING DATABASE IS OFFLINE' TARGET(CICSPRDA)"

CLIST example:

IMFEXEC MSG 'MANUFACTURING DATABASE IS OFFLINE' TARGET(CICSPRDA)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.3.01