RVKACCAUT (Revoke Access Code Authority)
RVKACCAUT Command syntax diagram
Purpose
The Revoke Access Code Authority (RVKACCAUT) command takes away the access code authority for an individual user or a group of users.
Note: You can specify USER(*CURRENT) to remove access code authority from any access code to which you have authority. Restriction: You must have *ALLOBJ authority to take away access code authority for other users.
Required Parameters
- ACC
- Specifies the access code for which authority is revoked. The access code is a decimal number ranging from 1 through 2047.
*ALL: All access code authority for the user is revoked.
access-code: Specify a decimal number, ranging from 1 through 2047, that specifies the access code authority that is revoked.
- USER
- Specifies the name of the user profile for whom access code authority is revoked.
*CURRENT: The user profile that is currently running is used.
*ALL: Access code authority is revoked for all users.
user-profile-name: Specify the profile name of the user whose access code authority is revoked.
Examples for RVKACCAUT
Example 1: Revoking Authority of Current User
RVKACCAUT ACC(250) USER(*CURRENT)This command takes away the access code authority of access code 250 from the user currently running this command.
Example 2: Revoking Authority of Specific User
RVKACCAUT ACC(300) USER(BILLY)This command takes away the access code authority of access code 300 from user BILLY. This command was run by someone with *ALLOBJ or *SECADM special authority, or by BILLY. A user who runs this command for himself can enter USER(*CURRENT) or his own user profile name; they are the same.
Error messages for RVKACCAUT
*ESCAPE Messages
- CPF9009
- System requires file &1 in &2 be journaled.
- CPF9014
- Access code authority removed from &1 users, not revoked from &2 users.
- CPF9024
- System cannot get correct record to finish operation.
- CPF9037
- Not allowed to specify USER(*ALL).
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.