Command reference / msg

RMVMSGD

Remove Message Description

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 operations topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

MSGID Message identifier

Specifies the message identifier of the message to be removed from the message file. This is a required parameter.

Type
*NAME
Required
Yes
Length
7
Case
Uppercase

MSGF Message file

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.

Type
*QUAL
Required
Yes
Case
Uppercase
Qualifier 1: Message file: name
Specify the message file from which the message is to be removed.
Qualifier 2: Library: name
Specify the library where the message-file is located.
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Message file Message file

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

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

Suggested / special values: *LIBL, *CURLIB

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.

IBM command documentation

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