12.4 Merge Commands ↑
12.4.7 ifendgroup command
Lines following this command and preceding the next group or endif command will be written to the output file at the end of a group of records sharing a common value for this key field.
Ifendgroup commands should follow definegroup commands and precede ifnewgroup commands, and should generally be specified in descending order by group number.
The ifendgroup command has one operand.
- Group Number. The group number whose group-ending output lines follow.
Next: 12.4.8 trailing command