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

Chapter 4
BULDACCT
Operation
79
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 UDCs:
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 any user
(non-system) volume set. For example:
RUN BULDACCT;INFO="[acct_list]%UV=user_vol_set"
=user_vol_set is optional. If omitted, BULDJOB1 will create the directory structure in the system domain of
the destination system. If user_vol_set is included, BULDJOB1 will create the directory structure in the
non-system domain of the destination system. In either case, BULDACCT selects only those accounts on the
source system which have a group on a user (non-system) volume set.
For example, in the following command, the account GYPSY1 has groups on a user volume, whereas GYPSY2
does not. As a result, when you stream BULDJOB1, it will create the directory only for GYPSY1.
RUN BULDACCT;INFO="GYPSY1,GYPSY2%UV=user_vol_set"
If, in the preceding example, you omit =user_vol_set, BULDJOB1 would create the directory structure for
GYPSY1 in the system domain. Since =user_vol_set is included, BULDJOB1 creates the directory structure for
GYPSY1 in the non-system domain on volume set user_vol_set.
Getting help
To get information about the BULDACCT utility, you can:
Issue the BULDACCT command (without the ;INFO string) and, at the prompt, enter %HELP
Enter %HELP in the ;INFO string as follows: