Remove Message Description (RMVMSGD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Remove Message Description (RMVMSGD) command removes a message description from the specified message file.

Note: A description of how to print a single message description or a group of message descriptions is in the section entitled Handling Messages in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.

Restrictions: You must have use (*USE) and delete (*DLT) authorities for the message file.

Top

Parameters

Keyword Description Choices Notes
MSGID Message identifier Name Required, Positional 1
MSGF Message file Qualified object name Required, Positional 2
Qualifier 1: Message file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Message identifier (MSGID)

Specifies the message identifier of the message to be removed from the message file.

This is a required parameter.

Top

Message file (MSGF)

Specifies the message file containing the message to be removed. Any message file overrides in effect for the job are ignored by this command; the file specified here is the one from which the message is removed.

This is a required parameter.

Qualifier 1: Message file

name
Specify the message file from which the message is to be removed.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the message-file. If no current library entry exists in the library list, QGPL is used.
name
Specify the library where the message-file is located.
Top

Examples

RMVMSGD   MSGID(UIN0115)  MSGF(INV)

This command removes the message description with the identifier UIN0115 from the message file named INV. The library list is used to find the INV file. Note that if more than one INV message file exists in the libraries being searched, the message description will only be removed from the first INV message file found in the library list.

Top

Error messages

*ESCAPE Messages

CPF2401
Not authorized to library &1.
CPF2407
Message file &1 in &2 not found.
CPF2411
Not authorized to message file &1 in &2.
CPF2419
Message identifier &1 not found in message file &2 in &3.
CPF2483
Message file currently in use.
CPF2499
Message identifier &1 not allowed.
CPF9830
Cannot assign library &1.
Top