account number, and you can retrieve and view the same statement using the
account number. If the data value you want to use in an indexing tag is consistently
located in the same place for each statement, you can specify ACIF parameters
that create a separate group of pages for each statement. The ACIF parameters
that you use in this case are the TRIGGERn, FIELDn, and INDEXn parameters.

Indexing with Literal Values:

Some print files such as technical documents and
memos cannot be divided easily into groups of pages using values in the data,
because no data value is consistently present in the same location. Likewise, the
output of an application may not contain the data you would like to use for an
indexing tag. In these cases, you can specify one or more literal values for ACIF to
use in the indexing tags for a single group of pages. The ACIF parameter that you
use in this case is the FIELDn parameter.
Notes:
1. If you are using ACIF to add indexing tags to a file, and the input file already
contains indexing tags, ACIF issues an error message and stops processing. If
the input file already contains indexing tags, you can create the index object file
by running ACIF

without

specifying any indexing parameters.
2. ACIF includes the name of the output document in the index object file and
includes the name of the index object file in the output document, which
provides a method of correlating the index object file with the appropriate
output document.

An Indexing Example Using Data Values:

This example shows how to use the
ACIF parameters described in Chapter 2, “Using ACIF Parameters in AIX” on
page 23 and Chapter 7, “Using ACIF Parameters in OS/390, MVS, VM, and VSE”
on page 87. Figure 6 shows the print file for a typical bank statement.
1ACCOUNT NUMBER: 445-66-3821-5 PAGE 1
CUSTOMER NAME: HENRY WALES
DATE: ð9/3ð/91
CHECK# ðð1 - 455.ðð
CHECK# ðð2 - 337.85
...
1ACCOUNT NUMBER: 333-56-4378-5 PAGE 1
CUSTOMER NAME: KATHERINE CHARLES
DATE: ð9/3ð/91
CHECK# 221 - 5.ðð
CHECK# 222 - 1567.35
...
Figure 6. Example Bank Statement Input File
In Figure 6, the print file contains bank statements dated September 30, 1991
(09/30/91). Each statement has the same general format, although statements may
vary in size or number of pages. Assume you want to index the bank statements
using the account number and the date. Although the account number identifies
each customer's account, the date is important to differentiate one month's
statement from another. For ACIF to extract the account number and date, it must
first locate the records that contain the required information.
12 ACIF User’s Guide