The PURGEUSER command enables a system administrator or an account
manager to remove a user from an account.
Syntax
PURGEUSER user[.acctname]
Parameters
user
Specifies the name of the user to be deleted.
This name must contain from one to eight alphanumeric characters, beginning
with an alphabetic character.
acctname
Specifies the name of the account where the user is located. The default is
the logon account of the account manager. System manager (SM) capability is
required to use this parameter.
Operation Notes
Usage
You can enter this command from a session, a job, a program, or in break
mode. Pressing Break does not affect this command.
You must have system manager (SM)
or account manager (AM) capability to enter this command.
You cannot purge a user if he or she is currently logged on.
If you try to purge a user currently logged on to the system, the system
responds by displaying the message IN USE: CAN'T BE PURGED.
You cannot purge MANAGER.SYS.
Purge verification
When you enter PURGEUSER during a session, the system
displays the
following verification prompt to ensure that you do not
accidentally purge the wrong user:
USER user TO BE PURGED? (YES/NO)
Deleting remaining files
The files created by a purged user remain after you purge the user from
the system. The following choices are available for deleting files:
The system administrator with system manager
(SM) capability can remove the files' account
by entering the PURGEACCT command.
Someone with account manager (AM) capability can remove the files' group by
entering the PURGEGROUP command.
Anyone can enter the PURGE command for each file to be deleted.