MPE/iX System Utilities Reference Manual (32650-90882)

Chapter 4 89
BULDACCT
Operation
GYPSY account from one volume set (system or non-system) to a user (non-system) volume
set called target_vol_set:
1. Logon as manager.sys and store all the files in the GYPSY account:
STORE @.@.GYPSY;;SHOW
2. Issue the BULDACCT command with the VS option:
RUN BULDACCT;INFO="GYPSY%VS=target_vol_set"
3. Unset system level UDC's in the GYPSY account:
SETCATALOG udc_file;SYSTEM;DELETE
4. Remove the GYPSY account from the system volume set:
PURGEACCT GYPSY
5. Rebuild the directory structure for target_vol_set:
STREAM BULDJOB1
6. Restore files to the GYPSY account; making sure that the files whose creators have been
purged are also restored.
RESTORE ;@.@.@;SHOW;VOLSET=target_vol_set;CREATE=CREATOR
(You may wish to add ;OLDDATE to this command to preserve the
modify, access
and
create
dates.)
7. Reset all user/account level UDC's:
STREAM BULDJOB2
8. If a system level UDC was unset in step 3 reset it:
SETCATALOG udc_file;SYSTEM;APPEND
Qualifying the account list
You can use the FROMVS option of the BULDACCT utility to specify the account list on
particular volume sets. For example, to dump the directory information of all the listed
accounts that have at least one group on home_volume_set_name, enter:
:RUN BUILDACCT: INFO="account_list %FROMVS=home_volume_set_name"
A minimum of one group linkage is required since the build account program does the
scanning on the system volume set. To select all accounts on the system that have a group
on some volume set, you can substitute a wild card (@) for part or all of the account list.
The complete information to rebuild the accounts, groups and users on the system, as well
as the specified volume set, is dumped in the job scripts. If you want to migrate these
accounts to a different volume set, use the VSACCT option in conjunction with the FROMVS
option. For example, to select all the accounts which have at least one group with
HOMEVS=home_volset and dump information to rebuild these accounts with
all
their
groups on the target volset, enter:
:RUN BUILDACCT: INFO="@ %FROMVS=home_volset %VSACCT=target_volset"
You may use the UV option to select only those accounts which have at least one group on