Purges a workgroup from the current list of workgroups.
Operation Notes |
 |
AIFWGPURGE deletes a workgroup from the current list of workgroups.
A user can call AIFWGPURGE with the default "scan" option and the last call
of AIFWGPURGE with purge-pending scan option. This will result in purge of all
the requested workgroups and the last call to AIFWGPURGE will result in
scanning of the processes of ALL the purged workgroups and
their reassignment.
This prevents scanning and reassignment of member processes at every
workgroup purge.
When a workgroup is purged, the Workload Manager will rescan the affected
member processes. The cost of such a rescan is dependent upon the number of
processes, and workgroups, involved. If parameter "purgescan" is not passed
the system does not complete the purge until all member processes have found
a new workgroup. A workgroup in such a state is considered to have a purge
pending. The scan of processes assigned to purge-pending workgroups is a
subset of a system-wide scan. A system-wide scan checks all processes
on the system for reassignment, while a purge-pending scan will only
check processes that are assigned to purge-pending workgroups.
Logically, a workgroup in the purge-pending state no longer exists and thus
can not accept new members. However, physically the workgroup remains until
either its last member has died or been moved to another workgroup, or a
scan is performed. When a workgroup goes into the purge-pending state, the
system renames the workgroup by prepending the previous name with "~". The
last character may be truncated to keep the new name to 255 characters.