Example

For example, to add a cover letter to a customer package (built by consolidating STREAM1, STREAM2, and STREAM3), include the cover letter within the Sortmatch tag group. Set the cover letter up as an input. The Sortmatch tag group in the control file would be as shown below.

<SORTMATCH>
   <INPUTNAME> COVERLETTER ALWAYS YES
   <INPUTNAME> STREAM1 MATCH YES
   <INPUTNAME> STREAM2 MATCH YES
   <INPUTNAME> STREAM3 MATCH YES
   <SORT> %%customer_NUMBER ASCEND
</SORTMATCH>

In the example below, each customer would get a cover letter, their statement, and a marketing piece.

<SORTMATCH>
   <INPUTNAME> coverletter ALWAYS          <! Always included          >
   <INPUTNAME> statement MATCH             <! Each individual statement>
   <INPUTNAME> marketing ALWAYS            <! Always included          >
</SORTMATCH>