Data Definition Language (DDL) Reference Manual

Dictionary Maintenance
Data Definition Language (DDL) Reference Manual529431-004
10-15
Moving a Nonaudited Dictionary
Topics:
Moving a Nonaudited Dictionary on page 10-15
Moving an Audited Dictionary on page 10-16
Moving a Nonaudited Dictionary
To move a nonaudited dictionary:
1. Duplicate the dictionary files on another subvolume using FUP DUP commands.
2. Change the subvolume name of the alternate key file in the file label of each
dictionary file that has alternate keys using FUP ALTER commands. (You can
determine which files use alternate keys by looking for the symbol A in the TYPE
column of a FUP INFO display; then use FUP INFO, DETAIL on those files to
determine the alternate key name.)
3. Optionally, you can purge the dictionary from the old subvolume.
You can enter these commands interactively, or you can build a file containing these
commands and then execute the file.
Example 10-11 on page 10-15 moves a dictionary from $DATA.SALES to
$MKT.SALESDIC.
Suppose that the commands of Example 10-11 on page 10-15 are in the file
$DATA.SALES.DICMOVE. You can execute the commands by entering this command:
57> OBEY $data.sales.dicmove
If you no longer need the original dictionary on $DATA.SALES, you can purge the
dictionary files as in Purging a Dictionary
on page 10-18.
Example 10-11. Moving a Nonaudited Dictionary
VOLUME $data.sales
Default volume and subvolume
FUP DUP (DICTALT,DICTCDF,DICTDDF,DICTKDF,DICTMAP), $mkt.salesdic.*
FUP DUP (DICTOBL,DICTODF,DICTOTF,DICTOUF,DICTOUK), $mkt.salesdic.*
FUP DUP (DICTRDF,DICTTKN,DICTTYP,DICTVER), $mkt.salesdic.*
VOLUME $mkt.salesdic
New default volume and subvolume
FUP ALTER DICTKDF, ALTFILE (O,DICTALT)
FUP ALTER DICTOBL, ALTFILE (O,DICTALT)
FUP ALTER DICTODF, ALTFILE (O,DICTALT)
FUP ALTER DICTOUF, ALTFILE (O,DICTALT)
FUP ALTER DICTFDF, ALTFILE (O,DICTALT)
Change alternate-key subvolume names in
the file labels of all files with alternate keys