Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Page Definition (DLTPAGDFN) command deletes a page definition from the specified library. If the page definition is not found, a message is sent to the user stating that the page segment could not be found.
Restriction: You must have *OBJEXIST authority to delete an object.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PAGDFN | Page definition | Qualified object name | Required, Positional 1 |
Qualifier 1: Page definition | Generic name, name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
Top |
Specifies the page definition to be deleted. You can specify a particular page definition or a generic page definition.
This is a required parameter.
Qualifier 1: Page definition
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 |
Example 1: Deleting a Page Definition from the Current Library
DLTPAGDFN PAGDFN(*CURLIB/P1DFLT)
This command deletes page definition P1DFLT if it is found in the current library.
Example 2: Deleting Page Definitions
DLTPAGDFN PAGDFN(*LIBL/P1*)
This command deletes all page definitions that begin with P1 in the job's library list.
Top |
*ESCAPE Messages
Top |