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

Chapter 4
BULDACCT
Operation
77
CAUTION If the destination system already contains user, group or account names that existed on the
source system, BULDJOB1 will change their attributes to match those of the source system. If
the destination system already contains hierarchical directories that existed on the source
system, BULDJOB1 will change the ACDs to match the source system.
Recreating the complete directory structure
To recreate the entire directory structure of the source system and set all system, account, and user level
UDCs, enter:
BULDACCT
To create the new directory on the destination system enter:
STREAM BULDJOB1
If you wish to reset UDCs, use the :RESTORE command to restore UDC files and then enter:
STREAM BULDJOB2
Recreating selected accounts on a new system
You may specify a selected list of accounts in the accounts list portion of the ;INFO string. For example, to
select all those accounts beginning with S and all those accounts ending with P enter:
RUN BULDACCT;INFO="S@,@P"
Then to create the new directory entries on the destination system, enter:
STREAM BULDJOB1
Migrating root and hiearchical directories
When BULDACCT is processing individual accounts or a subset of "all accounts" ("@"), it does not process any
hierarchical directories directly under ROOT ( "/"). It only processes the hierarchical directories within each of
the specified accounts For example, the following command processes all groups, users and hierarchical
directories in accounts GYPSY1 and GYPSY2:
RUN BULDACCT; INFO="GYPSY1,GYPSY2"
To prevent BULDACCT from picking up any hierarchical directories, use the %NODIRS option. To prevent
BULDACCT from picking up any hierarchical directories under ROOT ("/"), use the %NOROOT option. If you
use both ROOT and %NOROOT, %NOROOT has precedence.
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.