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

Chapter 4
BULDACCT
Operation
78
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 UDCs 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 UDCs:
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 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 UDCs 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