Page Formats within Page Definitions
Just as form definitions can include more than one copy group, page definitions can include several page formats. Page formats use basically the same subcommands as page definitions, and if a subcommand is specified in a page format, it overrides the value specified in the page definition for the page format. A single page definition may contain multiple page formats. If pages in a file are to be formatted differently, specify more than one page format in your page definition. Within a page definition, page formats are generated in the order in which they are specified.
Using more than one page format to control different pages requires one of the following:
- Adding the Invoke Data Map structured field to the data file each time you want to change page formats.
- Using conditional processing.
Refer to Advanced Function Presentation: Programming Guide and Line Data Reference for more information about the Invoke Data Map structured field.