Command reference / msg

WRKMSGD

Work with Message Descriptions

Shows detailed information about the messages in a message file. It can add, change, remove and print message descriptions through the Work with Message Descriptions display. Changed descriptions show their current values in the command prompt, but second-level message text is limited to 512 characters.

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC. Positional parameters: 2.

Parameters

MSGID Message identifier

Specifies the message identifier with which to begin the list of message descriptions shown from the message file.

Type
*NAME
Required
No
Default
*FIRST
Length
7
Case
Uppercase

Suggested / special values: *FIRST

*FIRST
The first message description in the message file is used to begin the list display.

MSGF Message file

Specifies the message file from which the message descriptions are taken.

Type
*QUAL
Required
No
Case
Uppercase
*LIBL
All libraries in the thread's library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the message file; QGPL is used if no current library entry exists.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Message file Message file

Type
*NAME
Required
No
Default
QCPFMSG
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

Examples

WRKMSGD MSGF(QSYS/QCPFMSG)

Displays the Work with Message Descriptions panel for all message descriptions in message file QCPFMSG in library QSYS, from which the user can add, change, delete, display or print descriptions.

IBM command documentation

Generated from os/cl/catalog/WRKMSGD.json and os/cl/help/WRKMSGD.json.