TextPipe: Online Help
    Restrict blocks
 

Submit feedback on this topic 

 Home  User Assistance   Tutorials   How to Use TextPipe
 Menus: File   Edit   Filters[ Wizards  Convert   Unicode   Add   Remove   Replace   Extract   Special   Maps   Restrict ]  Tools   Window   Help   Advanced
Home
Up

 

 

A Restrict to Blocks filter groups every N bytes together and sends each group to its sub filters. Each group appears to be a "new file" to the sub filters.

For example, a Restrict to Bytes filter specifies a range that only occurs once in each file e.g. Bytes 1 to 3. By placing the Restrict to Bytes filter inside the Restrict to Blocks filter, the Byte range effectively occurs multiple times -

  1. Bytes 1 to 3 of the first group
  2. Bytes 1 to 3 of the second group
  3. Bytes 1 to 3 of the third group
  4. and so on.

If you have a known record length, use this filter to ensure each record is processed as a single unit.

When combined with a Secondary Output Filter as a sub filter (with Append Mode on), records can be selectively written to a new file.

See also

Sub filters
Restriction filters

 Contact Us   Support   Community   Tutorials and User Guides (online)
 Copyright © 1999-2006 DataMystic. All rights reserved.