 |
» |
|
|
|
The PURGEGROUP command enables a system administrator or account manager
to remove a group from an account.
The command automatically removes all
files that belong to the group that is being purged. Syntax |  |
PURGEGROUP groupname[.acctname]
|
Parameters |  |
- groupname
Specifies the
name of the group in the logon account to be removed. This name must
contain from one to eight alphanumeric characters, beginning with an
alphabetic character. - acctname
Specifies the account where the group is located. 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. When to purge a group To completely purge a group, you must enter PURGEGROUP when the
group and its files are inactive; otherwise, the group remains on the
system and only inactive files are purged. Purge verification
When you enter PURGEGROUP during a session, the system displays the
following verification prompt to ensure that you do not
accidentally purge the wrong group:
GROUP groupname TO BE PURGED?
|
No verification message is printed when you include
the PURGEGROUP command within a job.
Example |  |
To purge a group named EXCESS, enter:
:PURGEGROUP EXCESS
GROUP EXCESS TO BE PURGED? (YES/NO)YES
:
|
Related Commands |  |
LISTGROUP
NEWGROUP
PURGEACCT
PURGEUSER
|
|