CL Command Reference - DLTFORMDF
CL Command List > DLTFORMDF Reference
Description:
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.
Examples:
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.