HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

PURGEGROUP

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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.

  • Order of purged elements

    Group elements are purged by files first, then the group. If no files in the group are in use, and the group itself is not in use, the PURGEGROUP command removes the entire group, otherwise, only inactive files are removed. To completely purge the group in this case, reenter the PURGEGROUP command when neither the group nor its files are in use.

    CAUTION: Do not attempt to purge the PUB group of the SYS account. You cannot completely purge the public group of the system account, PUB.SYS. If you specify this group in the groupname parameter, all nonsystem and inactive files are purged, which seriously impairs the proper functioning of the entire system.

Example

  • To purge a group named EXCESS, enter:

       :PURGEGROUP EXCESS
    
       GROUP EXCESS TO BE PURGED? (YES/NO)YES
    
       :
    

Related Commands



   LISTGROUP

   NEWGROUP

   PURGEACCT

   PURGEUSER
Feedback to webmaster