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

88 Chapter4
BULDACCT
Operation
Migrating a specific account to a non-system volume set
To migrate a selected set of accounts to a non-system volume set use the VSACCT option of
BULDACCT. In this example the source computer and destination computer are the same.
The basic BULDACCT syntax is:
RUN BULDACCT;INFO="[acct_list]%VSACCT=user_vol_set"
In this example acct_list is the list of accounts to be migrated. The default account list is
@ or
all
accounts; user_vol_set must be a valid volume set name.
The following is a sample of the exact steps you would use to migrate an account called
GYPSY to a non-system volume set called target_vol_set.
1. Log on as manager.sys and store all the files in the selected account:
STORE @.@.GYPSY;;SHOW
2. Run BULDACCT with the VSACCT option to create job files BULDJOB1 and BULDJOB2:
RUN BULDACCT;INFO="GYPSY%VSACCT=target_vol_set"
3. Close system level UDC's residing in the GYPSY account (if any):
SETCATALOG udc_file;SYSTEM;DELETE
4. Remove the account from its existing location and make sure there is not a GYPSY
account on your target_vol_set:
PURGEACCT GYPSY
PURGEACCT GYPSY;ONVS=target_vol_set
5. Rebuild the account, group and user directory structure for target_vol_set:
STREAM BULDJOB1
6. Restore all GYPSY account files, 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 and account level UDC's:
STREAM BULDJOB2
8. If a system level UDC was uncataloged in step 3 then set it again:
SETCATALOG udc_file;SYSTEM;APPEND
Migrating groups to a non-system volume set
If a given account already exists on a non-system volume set, you may use the VS option to
migrate groups of that account to that volume set. The basic BULDACCT syntax is:
RUN BULDACCT;INFO="[acct_list]%VS=user_vol_set"
The following is an example of the exact steps you would use to migrate the groups in the