Performing Presort

To perform postal presorting, follow these steps.

  1. Verify that you have properly configured your Enrichment environment to use Mailstream Plus. For configuration instructions, see the Installation Guide.
  2. Create a control file. For more information, see Developing a Control File.
  3. Create Input tag groups for each input print stream. Identify the address on each input using the <ADDRESSBLOCK> tag or the Address tag group.
  4. Create Output tag groups for each output print stream.
  5. In the Output tag group, create the Presort tag group.
  6. 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).
  7. In the Presort tag group, create a <FILE> tag to specify the presort index file that Enrichment will create.
  8. 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.

  9. (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.
  10. 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.