Data Definition Language (DDL) Reference Manual

Dictionary Maintenance
Data Definition Language (DDL) Reference Manual529431-004
10-14
Changing Dictionary Security
Changing Dictionary Security
Dictionary files are created with the default file-creation security of the user who
created them. If you are the owner of the files, you can change the security applied to
the dictionary files by the DDL compiler with the FUP SECURE command.
To change file security:
1. Use the FUP INFO command to determine the current security of the dictionary
files.
2. Use the FUP SECURE command to specify the security you want.
Suppose the dictionary on $DATA.SALES was created with a user default security of
“AAAA,” where the dictionary files can be read, written to, and purged by any other
user. Example 10-10 on page 10-14 shows how to change this security so that any
user can read or execute the dictionary files, but only the owner can write to or purge
them.
For a description of the FUP SECURE command, see the File Utility Program (FUP)
Reference Manual.
Moving a Dictionary
You can move a dictionary from one subvolume to another subvolume with a
combination of FUP commands. If you are creating a backup dictionary on the new
subvolume, keep the original dictionary. If you want only one copy of the dictionary,
purge the original dictionary after the move.
The procedure for moving a nonaudited dictionary differs from the procedure for
moving a dictionary audited by the Transaction Monitoring Facility (TMF) subsystem.
Example 10-10. Changing Dictionary Security
52> VOLUME $data.sales
Go to dictionary volume and subvolume
53> FILES
List dictionary files and change their security
$DATA.SALES
DICTALT DICTCDF DICTDDF DICTKDF DICTMAP DICTOBL DICTODF DICTOTF
DICTOUF DICTOUK DICTRDF DICTTKN DICTTYP DICTVER
54> FUP SECURE (DICTALT,DICTCDF,DICTDDF,DICTKDF,DICTMAP), "AOAO"
55> FUP SECURE (DICTOBL,DICTODF,DICTOTF,DICTOUF,DICTOUK), "AOAO"
56> FUP SECURE (DICTRDF,DICTTKN,DICTTYP,DICTVER), "AOAO"
Note. Do not attempt to move a dictionary that is part of a Pathmaker application catalog using
this procedure. Refer to Pathmaker documentation for instructions about how to move a
dictionary that is part of a Pathmaker application catalog.