| Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The Delete User Space (DLTUSRSPC) command deletes a user space from the system. The user who enters this command must have *OBJEXIST authority for the user space being deleted and *EXECUTE authority for the library where the user space is located.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| USRSPC | User space | Qualified object name | Required, Positional 1 |
| Qualifier 1: User space | Generic name, name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
| Top |
Specifies the name and library of the user space that is to be deleted. A specific user space or generic user space can be specified; either type can be optionally qualified by a library.
This is a required parameter.
The possible library values are:
#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
The possible user space values are:
| Top |
DLTUSRSPC USRSPC(MYBEST/USRSPCTEST)
This command deletes the user space named USRSPCTEST in the library named MYBEST from the system.
| Top |
*ESCAPE Messages
| Top |