Performing Presort
To perform postal presorting, follow these steps.
- Verify that you have properly configured your Enrichment environment to use Mailstream Plus. For configuration instructions, see the Installation Guide.
- Create a control file. For more information, see Developing a Control File.
- Create Input tag groups for each input print stream. Identify the address on each input using the <ADDRESSBLOCK> tag or the Address tag group.
- Create Output tag groups for each output print stream.
- In the Output tag group, create the Presort tag group.
- In the Presort tag group, create a <PRETYPE> tag to specify which program you will use to perform the postal presort (for example, Mailstream Plus).
- In the Presort tag group, create a <FILE> tag to specify the presort index file that Enrichment will create.
- In the Presort tag group, create a <SORTPART> tag and specify they system variable %%DOCINDEX as follows:
<SORTPART> %%DOCINDEX 8
This is required for presorting.
- (Optional) In the Presort tag group, create additional <SORTPART> tags that specify additional information that you want to use to build the presort index file. For additional information, refer to the Enrichment Language Reference Guide.
- In the Presort tag group, create a <STEP> tags to call your postal presort program (such as Mailstream Plus). For additional information, refer to the Enrichment Language Reference Guide.