Remove Access Code (RMVACC)

The Remove Access Code (RMVACC) command allows you to remove from the system an access code previously defined by the Add Access Code (ADDACC) command.

NOTES:

  1. This command can take a long time to run because it must update each object in the document library that has been assigned the access code being removed.
  2. This command removes the access code from all filed documents, from all users authorized to the access code, and from the system.

Restrictions:

To use this command, you must have all object (*ALLOBJ) special authority.

Parameters

Keyword Description Choices Notes
ACC Document access code Values (up to 300 repetitions): 1-2047 Required, Positional 1

Document access code (ACC)

Specifies the access code or access codes being removed from the system. If the access code specified is not defined on the system, a diagnostic message is sent, and any additional access codes specified are processed.

1-2047
Specify an access code to be removed from the system.

This is a required parameter.

Examples

RMVACC   ACC(300)

This command removes access code 300 from the system.

Error messages

*ESCAPE Messages

CPF90A5
Access codes could not be removed.
CPF9009
System requires file &1 in &2 be journaled.
CPF9011
&1 access codes removed, &2 not removed.
CPF9024
System cannot get correct record to finish operation.
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.