Dictionary Maintenance
Data Definition Language (DDL) Reference Manual — 426798-002
10 -17
Moving an Audited Dictionary
For example, to move an audited dictionary from $MKT.SALESDIC to $DATA.SALES,
you can build and then execute a source file that contains the following commands:
Suppose the preceding file was created on subvolume $MKT.SALESDIC and its name
is DICMOVE. You can execute the commands in DICMOVE by entering the following
command:
58> OBEY $mkt.salesdic.dicmove
If you no longer need the original dictionary on $MKT.SALESDIC, you can purge the
dictionary files as described in the next subsection,
Purging a Dictionary
on
page 10-18. If you keep the original dictionary, you might want to reaudit the dictionary
files.
VOLUME $mkt.salesdic
FUP ALTER DICTCDF, NO AUDIT
FUP ALTER DICTKDF, NO AUDIT
FUP ALTER DICTMAP, NO AUDIT
FUP ALTER DICTALT, AUDIT
FUP ALTER DICTOBL, NO AUDIT
FUP ALTER DICTALT, AUDIT
FUP ALTER DICTODF, NO AUDIT
FUP ALTER DICTOTF, NO AUDIT
FUP ALTER DICTOUF, NO AUDIT
FUP ALTER DICTALT, AUDIT
FUP ALTER DICTRDF, NO AUDIT
FUP ALTER DICTTKN, NO AUDIT
FUP ALTER DICTTYP, NO AUDIT
FUP ALTER DICTVER, NO AUDIT
FUP DUP (DICTALT,DICTCDF,DICTDDF,DICTKDF,DICTMAP), $data.sales. *
FUP DUP (DICTOBL,DICTODF,DICTOTF,DICTOUF,DICTOUK), $data.sales.*
FUP DUP (DICTRDF,DICTTKN,DICTTYP,DICTVER), $data.sales.*
VOLUME $data.sales
FUP ALTER DICTKDF, ALTFILE (0,DICTALT)
FUP ALTER DICTOBL, ALTFILE (0,DICTALT)
FUP ALTER DICTODF, ALTFILE (0,DICTALT)
FUP ALTER DICTOUF, ALTFILE (0,DICTOUK)
FUP ALTER DICTRDF, ALTFILE (0,DICTALT)
FUP ALTER DICTCDF, AUDIT
FUP ALTER DICTKDF, AUDIT
FUP ALTER DICTMAP, AUDIT
FUP ALTER DICTALT, NO AUDIT
FUP ALTER DICTOBL, AUDIT
FUP ALTER DICTALT, NO AUDIT
FUP ALTER DICTODF, AUDIT
FUP ALTER DICTOTF, AUDIT
FUP ALTER DICTOUF, AUDIT
FUP ALTER DICTALT, NO AUDIT
FUP ALTER DICTRDF, AUDIT
FUP ALTER DICTTKN, AUDIT
FUP ALTER DICTTYP, AUDIT
FUP ALTER DICTVER, AUDIT
Default volume and subvolume
Also disables auditing on DICTALT
Re-enable auditing on DICTALT before
disabling auditing on DICTOBL, DICTODF,
and other files that use DICTALT
Also disables auditing on DICTOUK, but no
other files use DICTOUK as an alternate
key file
New default volume and subvolume
Change alternate-key subvolume
names in the file labels of all files
with alternate keys
Also enables auditing on DICTALT
Disable auditing on DICTALT before
enabling auditing on DICTOBL,
DICTODF, and other files that use
DICTALT
VST1011.vsd