| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Module (DLTMOD) command deletes a compiled module or group of modules. If the module is associated with a binding directory, the entry in the binding directory for this module is not valid after deletion.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| MODULE | Module | Qualified object name | Required, Positional 1 |
| Qualifier 1: Module | Generic name, name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
| Top |
Specifies the modules to be deleted. A specific module or a generic module can be specified; either type can be optionally qualified by specifying a library name.
Note: To remove all module objects for a specific library, you can use RMVLNK OBJLNK('QSYS.LIB/libname.LIB/*.MODULE'), where libname is the name of the library from which all modules are to be deleted. See the RMVLNK command for more information.
This is a required parameter.
Qualifier 1: Module
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 QUSRDIRDB QUSRVI QGPL QSRVAGT QUSRIJS QUSRVxRxMx QGPL38 QSYS2 QUSRINFSKR QMGTC QSYS2xxxxx QUSRNOTES QMGTC2 QS36F QUSROND QMPGDATA QUSER38 QUSRPOSGS QMQMDATA QUSRADSM QUSRPOSSA QMQMPROC QUSRBRM QUSRPYMSVR QPFRDATA QUSRDIRCF QUSRRDARS QRCL QUSRDIRCL QUSRSYS
| Top |
DLTMOD MODULE(XYZ/M*)
This command deletes all modules in library XYZ that begin with the letter M.
| Top |
*ESCAPE Messages
| Top |