| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Form Definition (DLTFORMDF) command deletes a form definition from the specified library. If the form definition is found, it is deleted. If the form definition is not found, a message is sent to the user stating that the form definition could not be found.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FORMDF | Form definition | Qualified object name | Required, Positional 1 |
| Qualifier 1: Form definition | Generic name, name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
| Top |
Specifies the form definition to be deleted. A specific form definition or a generic form definition can be specified.
This is a required parameter.
Qualifier 1: Form 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 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 |
Example 1: Deleting the First Occurrence of a Specified Form Definition
DLTFORMDF FORMDF(*LIBL/FORMDF1)
This command deletes the first occurrence of FORMDF1 if it was found in the library list.
Example 2: Deleting All Occurrences of a Specified Form Definition
DLTFORMDF FORMDF(*ALLUSR/FORMDF1)
This command deletes all the form definitions named FORMDF1 in all user libraries. Libraries beginning with a Q, except for the QGPL library, are not searched.
Example 3: Deleting Form Definitions That Begin With FD
DLTFORMDF FORMDF(*USERLIBL/FD*)
This command deletes all the form definitions that begin with FD in all the user libraries.
| Top |
None
| Top |