CoolSpools Spool Converter User Guide V6R1
in the Worked Example below, the REGION section has a start rule that states that a
new instance of the REGION section begins
*IF REGION_CODE *NE *PRV
that is, when the region code changes.
ENDLINE - Section end line name
Specify the name of the report line, which, when it is encountered during the analysis
of a spooled file, indicates the end of an instance of this report section.
Note that rules can be specified on ENDRULES below to further qualify the
conditions under which an instance of this report section ends.
For example, in the Customer Orders report used in the Worked Example below, the
REGION section always ends when a REGION_TOTALS line is encountered.
However, in other reports, it could be necessary to apply additional tests to
determine if a section should end or not.
There are two elements to this parameter, the default for which is the single value:
An instance of this section ends when an
occurrence of the line specified on the
STARTLINE parameter is encountered and when
the rules specified on STARTRULES above, if any,
This option is intended to handle the situation
where there is no convenient line which marks the
end of a section and the only way to tell when an
instance of a section has ended is the occurrence
of the line which starts a new instance of that
Select the line from a list of report lines in the
The section ends at the end of the report.
Specify the name of the existing report line which
ends the section.
Part of this section
The end line specified above is part of the instance
of the section it is ending.
The end line specified above is not part of the
instance of the section it is ending (i.e. it is part of
a different section or a new instance of this
section, but serves as a convenient marker for the
end of the section).