Deleting Policy Objects Using Text Files
You can delete policy objects for any entry type except for type ENT (Enterprise), DMN (Remote Domains), REF (Resource References), and MSG (Messages).
DEL <Entry Type> : <existing entry name>The keyword can appear anywhere in the file with the following restrictions:
- the keyword DEL must begin in column 1,
- the keyword does not break other sequences, for example, a new entry consisting of NEW and related COPY, WHERE_USED keywords,
- no detail specifications are needed in subsequent lines (unlike, for example, NEW or UPD).
For each specification of DEL, only one entry name is allowed. To delete multiple entries, a single DEL specification is required for each entry.
If there are multiple DEL specifications for the same entry type/name this is not handled as an error. The entry is deleted and WARNING messages are issued additionally for each duplicate specification to indicate there may be an error.
An entry can only be deleted via the DEL keyword if it is not referenced anywhere else in the file. For example, an application can only be deleted via file if it is not modified via UPD or created via NEW in the same file. If there is a need to delete an entry and recreate it, then the corresponding specifications have to be split into two files that need to be run one after the other.