Variance of Restrict to Lines

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
Cratos
Posts: 1
Joined: Sat Mar 04, 2006 7:29 am

Variance of Restrict to Lines

Post by Cratos »

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.
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Yes - just use a search/replace as the Restriction.
Post Reply