RMVMSGD (Remove Message Description)

RMVMSGD Command syntax diagram

 

Purpose

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

Note: A description of how to print messages is in the Work with printer output article in the Information Center.

Restriction: The user must have use and delete authorities to the message file.

 

Required Parameters

MSGID
Specifies the message identifier of the message being removed from the message file.
MSGF
Specifies the qualified name of the message file containing the message being 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.

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.

*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.

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

Example for RMVMSGD

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.

Error messages for RMVMSGD

*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.