Use the CHANGE command to change the name of a USER, IDENTITY, or SUBCONFIG directory entry. Changing a USER or IDENTITY entry changes the user ID. The associated user ID must be logged off for the change to work.
CHANGE oldentry newentry
Specifies the name of the directory entry to change.
Specifies the new directory entry name which replaces the old name.
CA VM:Director does the following when you change a user ID in a USER or IDENTITY entry:
Updates all directory links to minidisks owned by the old user ID to reflect the new user ID except links specified on the NOLINK record in the DASD CONFIG file
If CA VM:Director manages your SFS, then all file pools that are managed by the product must be active and available so that it can check them for file space that may be owned by the same user ID name as the new one to which you are changing this user ID name. If any file pool managed is not available for checking, or if it finds any file space in an available file pool owned by the new user ID name, the command will fail.
When the user ID being changed is enrolled in a CA VM:Director‑controlled SFS filepool, the CHANGE command runs on a servant machine. In this case, be sure the Servant Facility is enabled; if the Servant Facility is disabled, the CHANGE command fails.
If the command tries to rename file spaces but the underlying file pool server does not support this function, the change fails.
After changing a user ID, update the following to reflect the new user ID:
You cannot change the CA VM:Director user ID or a user ID specified on an IGNORE record in the DASD CONFIG file with the CHANGE command.
The CHANGE command uses the CMS FILEPOOL EXEC to rename an individual file space within a file pool. Ensure that CA VM:Director has access to the MAINT 193 minidisk on which the FILEPOOL EXEC resides.
Example
To change director entry JSMITH to JSREID, enter:
vmdirect change jsmith jsreid
The table below lists return codes and error messages for the CHANGE command.
|
Return Code |
Message Number |
Text |
|---|---|---|
|
0 |
none |
CHANGE command completed normally |
|
24 |
038E |
MISSING PARAMETER |
|
24 |
039E |
INVALID PARAMETER parameter |
|
24 |
0328E |
INVALID USERID userid |
|
24 |
0357E |
USER userid IS CURRENTLY LOGGED ON |
|
24 |
0358E |
USER userid ALREADY EXISTS |
|
24 |
0531E |
PARAMETER parameter IS TOO LONG |
|
24 |
0717E |
USERID userid IS DEFINED AS A MANAGER, AND CANNOT BE CHANGED |
|
28 |
0356E |
USER userid DOES NOT EXIST |
|
32 |
0382E |
USER userid IS ON HOLD |
|
40 |
0340E |
NEWUSER EXIT INDICATES USER userid1 IS NOT DIRECTORY MANAGER FOR USER userid2 WITH ACCOUNT accountnumber |
|
40 |
0343E |
NO AUTHORIZED SKELETON FILES FOUND |
|
80 |
0324E |
ERROR code FROM NEWUSER EXIT |
|
80 |
0464E |
SCRATCH EXIT INDICATES USERID MAY NOT BE CHANGED |
|
80 |
0465E |
vmdirectsvm MAY NOT BE ASSIGNED |
|
80 |
0506E |
userid NOT ALTERED. REFERENCED IN PROFILES: profname1 profname2 ... |
|
7080 |
7080E |
userid NAME ALREADY USED AS A FILE SPACE |
|
7013 |
7013E |
userid2 ALREADY ENROLLED IN FILE POOL filepoolid |
|
7111 |
7117E |
COMMAND REJECTED ‑‑ FILE POOL filepoolid CANNOT PROCESS REQUEST |
|
7236 |
7236E |
UNEXPECTED RETURN CODE code, REASON CODE reasoncode FROM ‘cslname’ |
Note:
|
Copyright © 2014 CA.
All rights reserved.
|
|