When ACIF indexes a print file, it creates the BNG structured fields. It assigns a
rolling 8-byte EBCDIC sequence number to the token name (for example,
00000001 where 1=X'F1'). The sequence number begins with 00000001 and is
incremented by 1 each time a group is created. ACIF also creates an FQN type
X'01' triplet by concatenating the specified index value (GROUPNAME) with the
same sequence number used in the token name. If the value of the index specified
in GROUPNAME is too long, the trailing bytes are replaced by the sequence
number. This occurs only if the specified index value exceeds 242 bytes in length.
A maximum of 99 999999 groups can be supported before the counter wraps. This
means that ACIF can guarantee a maximum of 99 999 999 unique group names.
Tag Logical Element (TLE) Structured Field
As was mentioned in a previous appendix, ACIF creates TLE structured fields as
part of its indexing process, or it can receive these structured fields from the input
print file. When ACIF creates TLE structured fields, the first TLE is INDEX1, the
next TLE is INDEX2, and so on to a maximum of eight per page group. When ACIF
processes a print file that contains TLE structured fields, it always outputs the TLE
structured fields in the same order and position.
Begin Page (BPG) Structured Field
When ACIF processes an AFP data stream print file, it checks for an FQN type
X'01' triplet on every page. If the FQN triplet exists, ACIF uses the value when it
creates an FQN type X'87' triplet on the corresponding Index Element (IEL)
structured field in the index object file. If one does not exist, ACIF creates one,
using a rolling 8-byte EBCDIC sequence number. This ensures uniquely named
pages up to a maximum of 99 999999 pages within a print file. ACIF creates IEL
structured fields for pages only if INDEXOBJ=ALL is specified.
When ACIF processes a line-mode print file, it creates the BPG structured fields. It
assigns a rolling 8-byte EBCDIC sequence number to the token name (for example,
00000001, where 1=X'F1'). The sequence number begins with 00000001 and is
incremented by 1 each time a group is created. ACIF also creates an FQN type
X'01' triplet using the same sequence number value, and uses this value in the
appropriate IEL structured field if INDEXOBJ=ALL is specified. A maximum of
99 999 999 groups can be supported before the counter wraps. This means that
ACIF can guarantee a maximum of 99 999999 unique group names.
End Named Group (ENG), End Document (EDT), and End Page (EPG)
Structured Fields
ACIF always assigns a null token name (X'FFFF') to the Exx structured fields it
creates. It does not modify the Exx structured field created by an application unless
it creates an FQN type X'01' triplet for the corresponding Bxx structured field. In
this case, it assigns a null token name (X'FFFF'), which forces a match with the
Bxx name.
Appendix D. Format of the Output Document File 199