Command Nesting Rules

  1. Record format LAYOUT commands and traditional PRINTLINE commands cannot be used within the same PAGEDEF. At least one LAYOUT command is required per page format for a record formatting page definition.
  2. A SETUNITS command can be placed before any other PPFA command. The values set are in effect until the next SETUNITS command.
  3. SEGMENT and OVERLAY commands must be specified under their associated PAGEFORMAT command.
  4. The first PAGEFORMAT command can be omitted in a page definition, if the page definition contains only one page format. If the PAGEFORMAT command is omitted, the PAGEDEF command parameters are used to define the page format.
  5. One file can contain multiple sets of page definitions.