wrkmsgd

3
WRKMSGD (Work with Message Descriptions) Command Description WRKMSGD Command syntax diagram Purpose The Work with Message Descriptions (WRKMSGD) command allows the user to display and work with detailed information about the messages contained in a message file. This command is used to add, change, display, print, and remove message descriptions. When message descriptions are changed by using this display, the current values for the message are shown in the command prompt. However, there is a 512-character limit for the second-level message text. Optional Parameters MSGID Specifies the message identifier with which to begin showing a list of message descriptions in the message file specified by the MSGF parameter. *FIRST: The first message description in the message file is first in the message list display. message-ID: Specify the message identifier used to begin the message list display. The message identifier must be seven characters in length and in the format,pppmmnn. The first three characters (ppp) must begin with a code consisting of an alphabetic character followed by two alphanumeric (alphabetic or decimal) characters; the last FROM THE DESK OF N. K. ELURU

Upload: nirishkumar

Post on 25-Jan-2016

214 views

Category:

Documents


1 download

DESCRIPTION

ALL ABOUT WRKMSGD

TRANSCRIPT

Page 1: WRKMSGD

WRKMSGD (Work with Message Descriptions) Command Description

WRKMSGD Command syntax diagram

Purpose

The Work with Message Descriptions (WRKMSGD) command allows the user to display and work with detailed information about the messages contained in a message file. This command is used to add, change, display, print, and remove message descriptions. When message descriptions are changed by using this display, the current values for the message are shown in the command prompt. However, there is a 512-character limit for the second-level message text.

Optional Parameters

MSGIDSpecifies the message identifier with which to begin showing a list of message descriptions in the message file specified by the MSGF parameter.

*FIRST: The first message description in the message file is first in the message list display.

message-ID: Specify the message identifier used to begin the message list display. The message identifier must be seven characters in length and in the format,pppmmnn.

The first three characters (ppp) must begin with a code consisting of an alphabetic character followed by two alphanumeric (alphabetic or decimal) characters; the last four characters (mmnn) must consist of decimal values ranging from 0 through 9 and the characters A through F.

MSGFSpecifies the qualified name of the message file from which the message descriptions are taken.

The name of the message file can be qualified by one of the following library values:

*LIBL: All libraries in the job's library list are searched until the first match is found.

FROM THE DESK OF N. K. ELURU

Page 2: WRKMSGD

*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name: Specify the name of the library to be searched.

QCPFMSG: Message descriptions are taken from the system message file, QCPFMSG, in library QSYS.

message-file-name: Specify the name of the message file to use.

Example for WRKMSGD

WRKMSGD MSGF(QSYS/QCPFMSG)

This command allows the user to utilize the Work with Message Descriptions display for message descriptions found in message file QCPFMSG in library QSYS. From that display, the user can add, change, delete, display, or print these message descriptions.

Error messages for WRKMSGD

*ESCAPE Messages

CPF2401Not authorized to library &1.

CPF2407Message file &1 in &2 not found.

CPF2411Not authorized to message file &1 in &2.

CPF2483Message file currently in use.

CPF2499Message identifier &1 not allowed.

CPF2510Message file &1 in &2 logically damaged.

CPF2516Unable to open display or printer file &1 in &2.

CPF9807One or more libraries in library list deleted.

CPF9810Library &1 not found.

CPF9830Cannot assign library &1.

FROM THE DESK OF N. K. ELURU