CL Command Reference - DLTMSGF
CL Command List > DLTMSGF Reference
Description:
The Delete Message File (DLTMSGF) command deletes the specified message files from the system, including all the message descriptions stored in the file. If any messages that use this file exist on queues, no message text will be available for those messages.
Restrictions: To delete the specified message file, you must have object existence (*OBJEXIST) authority for the file. The IBM-supplied message files, QCPFMSG (for OS/400 messages) and the licensed program message files (such as QRPGMSG), cannot be deleted (unless authorized by the security officer).
Examples:
DLTMSGF MSGF(INV)
This command deletes the message file named INV. All message descriptions stored in INV are also removed.