Variance of Restrict to Lines
Posted: Sat Mar 04, 2006 7:35 am
Is there a Restriction filter (or workaround) that will limit the code to be processed based on a "start" identifier and terminated by an "end" identifier, the identifiers being specific literals in the text?
For example:
When the text "DATA DIVISION" is encountered, perform all sub-filters until the text "WORKING-STORAGE SECTION" is found. The number of lines between the start identifier and the end identifier is not constant within different files.
Thanks.
For example:
When the text "DATA DIVISION" is encountered, perform all sub-filters until the text "WORKING-STORAGE SECTION" is found. The number of lines between the start identifier and the end identifier is not constant within different files.
Thanks.