Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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).
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MSGF | Message file | Qualified object name | Required, Positional 1 |
Qualifier 1: Message file | Generic name, name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
Top |
Specifies one or more message files to be deleted.
This is a required parameter.
Qualifier 1: Message file
Qualifier 2: Library
#CGULIB #DSULIB #SEULIB #COBLIB #RPGLIB #DFULIB #SDALIB
Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx QGPL QSRVAGT QUSRINFSKR QGPL38 QSYS2 QUSRNOTES QMGTC QSYS2xxxxx QUSROND QMGTC2 QS36F QUSRPOSGS QMPGDATA QUSER38 QUSRPOSSA QMQMDATA QUSRADSM QUSRPYMSVR QMQMPROC QUSRBRM QUSRRDARS QPFRDATA QUSRDIRCL QUSRSYS QRCL QUSRDIRDB QUSRVI
Top |
DLTMSGF MSGF(INV)
This command deletes the message file named INV. All message descriptions stored in INV are also removed.
Top |
*ESCAPE Messages
Top |