Group Headers

A Group Header layout consists of text, graphics, and other data that is to be printed at the beginning of a group of user records. For example, if you are creating a banking statement, you might define a Group Header for checking, one for savings, and so forth.

The group header is defined with a special LAYOUT GRPHEADER command, and stays in effect until a BODY layout is encountered that specifies NOGROUP. See LAYOUT Command (Record Format) for additional details on the GRPHEADER subcommand.

If a logical page eject occurs before the group is ended, the header is printed after the top margin on each new page until the group ends.