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

Chapter 4 87
BULDACCT
Operation
BULDACCT always creates two files, BULDJOB1 and BULDJOB2, even if only one is needed.
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
UDC's, 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.