Previous Topic: (MIM) MIMINIT Statement-Define Initialization ValuesNext Topic: (MIM) MSGR Statement-Provide Message With a Reply Definition


(MIM) MSG Statement-Define Message

The MSG statement provides a message definition for CA MIM. It is used only in the Message Facility Tables found in the MIMMSGS file.

This statement has the following format:

MSG 'text' [AREAID=area] [CONSID][DESC=descriptor codes]
           [MCSFLAG=mcsoptions]
           [MSGNO=msgnumber] [RESPONSE] [ROUTCDE=routinginfo]
text

Specifies the message prefix and text that you want CA MIM to use. This string must be enclosed in single quotes.

AREAID

(Optional) Specifies a console area identifier to which the message is to be directed.

CONSID

(Optional) Specifies that the message is to be directed to a specific console.

DESC

(Optional) Specifies WTO descriptor codes.

MCSFLAGS

(Optional) Specifies selected WTO MCS flag information for the message. Currently RESP and HRDCPY are the supported MCS options.

MSGNO

(Optional) Specifies the message number if the message number is not supplied in the message text.

RESPONSE

(Optional) Specifies that the message is a console directed command response.

ROUTCDE

(Optional) Specifies WTO routing code information.

Usage Note: MSG Statement

You can specify this statement only in a Message Facility Table member of the MIMMSGS file. Specify this statement after the TABLE statement.

Example: MSG Statement

To use the text TASK NOT ACTIVE for CA MIM message MIM1034I, specify this statement in your message table:

MSG 'MIM1034I TASK NOT ACTIVE'