gtpg2m2kGeneral Macros

GENMSG-Generate Message Table for WTOPC

This general macro can be used to generate a message table whose entries contain information that can be passed as parameters to the WTOPC macro using the DCTMSG DSECT. It can also be used to generate text for messages used with the SERRC and SNAPC macros.

Note:
This is a declarative macro. It is used only to generate data.

Format




label
A symbolic name can be assigned to the macro statement, which can be used to gain addressability to the generated parameter table.

LET=char
This specifies a literal message severity indicator letter. This is a mandatory parameter when used with TEXT=.

NUM=n
This specifies a self-defining term for the message number assigned to the message in one of two ranges: either decimal 1-255 or 1-9999. The range is dependent on previous use of DCTMSG or WTOPC. If XNUM=YES is specified in DCTMSG or WTOPC, the large range is used. NUM is a mandatory parameter when used with TEXT=.

TEXT='string'
This specifies the text of the message to be edited. The text must be enclosed in quotes. The minimal length of the text is 1 character.

TEXTONLY='string'
This specifies the text of the message to be edited and generates a count field followed by the message text. This parameter can be used to generate message text tables. TEXTONLY cannot be addressed with DCTMSG.
Note:
See the WTOPC macro for a complete definition of the contents of the LET, NUM, and TEXT parameters, and number range.

Entry Requirements

Return Conditions

None.

Programming Considerations

See the following macros:

Examples