Consolidating Print Streams

To consolidate print streams, follow these steps.

  1. Create a control file. For more information, see Developing a Control File.
  2. Create an Input tag group for each input print stream.
  3. In the Input tag group, create a <FIELD> tag to define the field that you want to use as the sort key.
  4. Create an Output tag group to define each file that you want to commingle the input into. For example, if you wanted to commingle two input print streams into one file you would create one Output tag groups to define the characteristics of the output file. For information on the Output tag group, refer to the Enrichment Language Reference Guide.
  5. Create a Sortmatch tag group.
  6. In the Sortmatch tag group, create an <INPUTNAME> tag for each input print stream that you want to commingle. For example:
    <SORTMATCH>
    <INPUTNAME> MONTHLYSTATEMENTS
    <INPUTNAME> YEARENDSTATEMENTS
    </SORTMATCH>
  7. In the Sortmatch tag group, create a <SORT> tag to define the field that you want to use as the sort key. For example, if you want to sort based on the %%AcctNum field, you would enter:
    <SORTMATCH>
    <INPUTNAME> MONTHLYSTATEMENTS
    <INPUTNAME> YEARENDTAXSTATEMENT
    <SORT> %%AcctNum
    </SORTMATCH>