GCOM
The GCOM command will compress group number so there are no gaps in the group numbering. The new group numbering will start a 1. The relative order of the groups will not change and this command does nothing to compress the element numbers in each group (use ECOMPR to compress element numbers inside of groups).