EXCEPTSPEC generates a WRITE to the printfile specified in the *FetchOverflow method, and is conditioned on the overflow indicator for the file to which the format belongs.
EXCEPTSPEC
Fmt (Format name)
Required. Contains the name of the record format containing the detail lines.
The EXCEPTSPEC section of migrated code controls printing. Each HeadingSpec, DetailSpec and TotalSpec command contain the conditions in which each is printed.
Add a parameter to *FetchOverflow(<print file>)
which is the print file over which the FetchOverflow should happen. This
parameter will cause FetchOverflow to happen only over those specs that belong
to the print file. No other print file specs should be tested nor printed.
*FetchOverflow Method
DCLFMTCYCLEATTR
ENDPRINTATTR
HEADINGSPEC
DETAILSPEC
TOTALSPEC