| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Service Program (DLTSRVPGM) command deletes a bound service program or group of service programs from a set of modules and binding directories.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| SRVPGM | Service program | Qualified object name | Required, Positional 1 |
| Qualifier 1: Service program | Generic name, name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
| Top |
Specifies the service program to be deleted. A specific service program or a generic service program can be specified.
This is a required parameter.
Qualifier 1: Service program
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 |
DLTSRVPGM SRVPGM(XYZ/S*)
This command deletes all service programs in library XYZ that begin with the letter S.
| Top |
*ESCAPE Messages
| Top |