Dictionary/3000 Reference Manual (32244-90001)

Chapter 4 107
DICTDBM Commands
Purge
Purge
Purges an entity which was created with the CREATE command from the Dictionary.
Syntax
[option] PURGE subcommand P
Use the PURGE command to purge an entity and all references to that entity from the
Dictionary. A subcommand is used to identify the kind of entity to be purged. For example,
PURGE FILE purges the specified file and all references to the file from the Dictionary.
That is, if a master file and an associated primary path element are purged, the associated
sort element, primary path, and path file information are purged as well. A complete list of
entities that can be purged is given below under Subcommands.
Before the PURGE command is implemented, the Dictionary allows you to cancel the
command with the following prompt:
DELETE ALL ENTRIES(N/Y)?
A response to this prompt other than Y cancels the PURGE command.
Subcommands
Any of the following subcommands can be used with the PURGE command:
CATEGORY purges the category and all references to it
CLASS purges the security class and all references to it
ELEMENT purges the data element and all references to it
FILE purges the file and all references to it; optionally purges
related files and associated elements
GROUP purges an HP Inform group and all references to it
LOCATION purges the location and all references to it
PROCEDURE purges the procedure and all references to it