Change the input file to create multiple output files or an indexed file

You can insert group tags into your data before it is transformed. This lets the transform generate one Portable Document Format (PDF) file for each group or insert an index tag at the beginning of each group. The action taken depends on the value specified for the Multiple PDF Files (PDFMULT) parameter on the Print Services Facility™ (PSF) configuration object. You can also use group tags to send each group as e-mail to a different recipient. The group name is used as the index tag or mail tag when appropriate. For information about putting mail tags on the group tags, see the Infoprint® Server for iSeries™ User's Guide.

You can use a utility such as Data description specifications (DDS) or the IBM® Infoprint Server for iSeries Create AFP™ Data (CRTAFPDTA) command to insert group tags in your data. If you choose to specify groups, all of the data must be inside a group.

To use DDS to generate groups, use the STRPAGGRP and ENDPAGGRP DDS keywords.

To use CRTAFPDTA to generate groups, follow the instructions in the Infoprint Server for iSeries User's Guide to index your file. The value specified with Select index for group names (IDXGRP) is the group name.

Related information

Infoprint Server for iSeries User's Guide PDF