Data Definition Language (DDL) Reference Manual
Dictionary Maintenance
Data Definition Language (DDL) Reference Manual—529431-004
10-18
Purging a Dictionary
Suppose that the commands of Example 10-12 on page 10-17 are in the file
$MKT.SALESDIC.DICMOVE. You can execute the commands by entering this
command:
58> OBEY $mkt.salesdic.dicmove
If you no longer need the original dictionary on $MKT.SALESDIC, you can purge the
dictionary files as in Purging a Dictionary on page 10-18. If you keep the original
dictionary, you might want to re-audit the dictionary files.
Purging a Dictionary
You can purge a dictionary by purging each dictionary file individually or, if the
dictionary is open, by entering the NOSAVE command following the DICT or DICTN
command.
To purge dictionary files individually, you must know the file names. You can see
Appendix D, Dictionary Database Structure, for the file names, or you can position
yourself on the subvolume that contains the dictionary and use a FILES command to
list the dictionary files. Dictionary file names always begin with DICT.
Example 10-13 on page 10-18 lists and then purges the dictionary files on
$DATA.SALES.:
You can purge the open dictionary with the NOSAVE command. If NOSAVE is in effect
when you exit from the DDL compiler, when another dictionary is opened, or when the
dictionary is closed using the NODICT command, the DDL compiler purges the open
dictionary. NOSAVE is ignored if the dictionary is part of a Pathmaker catalog.
Note. Do not purge a dictionary that is part of a Pathmaker catalog. Refer to Pathmaker
documentation for instructions about how to purge a dictionary that is part of a Pathmaker
application catalog.
Example 10-13. Listing and Purging Dictionary Files
59> VOLUME $data.sales
60> PURGE DICTALT,DICTCDF,DICTDDF,DICTKDF,DICTMAP,DICTOBL,DICTODF
61> PURGE DICTOTF,DICTOUF,DICTOUK,DICTRDF,DICTTKN,DICTTYP,DICTVER
Example 10-14. Purging Dictionary Files With the NOSAVE Command
62> DDL
!?DICT $data.parts
...
Open dictionary
!?NOSAVE
Ignored for Pathmaker dictionaries
!?DICT $data.parts
Purge the open dictionary and open a new one