BREAKYES
A break is a condition that exists in the load file to determine whether the current page is the start of a new document.
The following indexing parameters determine breaks:
- TRIGGER parameters that use TYPE=GROUP. These parameters are used as a match condition. The trigger value must be found on this page for a break condition to exist.
- INDEX parameters that use BREAK=YES These parameters are used as a change condition. The index value must change on this page from the value found on the previous page for a break condition to exist. However, if the index value contains multiple fields which are to be concatenated together, only the first field is examined to determine if a break condition exists.
When multiple break conditions exist, regardless of whether they are TRIGGER parameters with TYPE=GROUP or INDEX parameters with BREAK=YES, they are all logically connected by using AND or OR operators based on the BREAKYES parameter.
Parameters
- When BREAKYES=AND is specified
- ALL triggers with TYPE=GROUP must be found and ALL index values with BREAK=YES must change for the current page to be considered the start of a new document.
- When BREAKYES=OR is specified
- At least one TRIGGER with TYPE=GROUP must be found or one INDEX with BREAK=YES must change for the current page to be considered the start of a new document.
- The default value is BREAKYES=AND
- If a value other than AND or OR is specified for this parameter, a warning message is issued, and the parameter is interpreted as though BREAKYES=AND was specified.