Function
Renames a privilege.
Format
NAMEPRIV new name,old name
where
new name is the new privilege name, up to 8 characters
long; spaces are significant only when internal
and
old name is the privilege name being replaced, up to 8
characters long; spaces are significant only when internal
Forbidden contexts
NO USER
This command can only be issued by a job running under user :MANAGER.
Execution
A search is made through the Dictionary for the old privilege; if found, the old privilege name is overwritten by the new privilege name.
Note: Any users possessing the old privilege will possess the new privilege instead as a result of this command.
Example
NAMEPRIV PAID,PRIVG
Error Messages
ONLY :MANAGER CAN RENAME PRIVILEGES
OLD PRIVILEGE PARAMETER MISSING
NEW PRIVILEGE PARAMETER MISSING
PRIVILEGE z TOO LONG
PRIVILEGE z DOES NOT EXIST