RMVACC (Remove Access Code)

RMVACC Command syntax diagram

 

Purpose

The Remove Access Code (RMVACC) command removes an access code from the system that was 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 and folders, from all users authorized to the access code, and from the system.

Restriction: This command is shipped with public *EXCLUDE authority.

 

Required Parameters

ACC
Specifies the access codes to remove from the system. The access code is a decimal number ranging from 1 through 2047. If the access code specified is not defined to the system, a diagnostic message is sent, and processing continues with any additional access codes specified.

Example for RMVACC

RMVACC ACC(300)

This command removes access code 300 from the system.

Error messages for RMVACC

*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.