| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Command (DLTCMD) command deletes a user-defined command (or group of commands) from the library where it is located. Only the command definition object is removed; the command definition source, the command processing program, and the validity checker are not affected.
Restriction:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| CMD | Command | Qualified object name | Required, Positional 1 |
| Qualifier 1: Command | Generic name, name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
| Top |
Specifies the commands to be deleted. A specific command name or a generic command name can be specified; optionally qualified by a library name.
Qualifier 1: Command
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 |
DLTCMD CMD(LIB01/PAYROLL)
This command deletes the command named PAYROLL from library LIB01. Any private authorities to the command are removed from the user profiles of all authorized users.
| Top |
*ESCAPE Messages
| Top |