For multiple paged printouts that also include different page layouts, it is possible to code a runtime control for switching to another form file:
$NEWDFF$ "<DFF Filename>" "<Directory Alias>" [REPLACE]
When REPLACE is specified, Enterprise Output Manager replaces the current Top of Form command with the new form file. If the form file contains a .WMF form, then this is used on the following pages until either a new print attribute is loaded (unconditionally replacing the Top Of Form command), or another $NEWDFF$ command with the REPLACE field is processed.
When the REPLACE field is not present the Top Of Form command is not changed. Note that when the $NEWDFF$ command is processed, the current Top Of Form command, if it exists, has been executed already for the current page.
This command can be used multiple times on a page to change the field definitions. In this case, users only need to include the REPLACE field at the start of a file. It is possible to jump to as many forms in succession as desired.