The first field in the example is located in the indexing anchor
record (trigger1). The field is 20 bytes in length starting at the
second byte of the record.
The second field is located five records down from the indexing
anchor record. The field is 10 bytes in length starting at the fifth
byte of the record.
The third field is located 15 records before the indexing anchor
record. It is 5 bytes in length starting at byte 30.
The fourth and fifth fields are literal (constant) values. The fourth
field is specified in ASCII, while the fifth field is specified as
hexadecimal (for example, EBCDIC) data.
For more information about using data values or literal values for
indexing, refer to “Indexing with Data Values” on page 11, and
“Indexing with Literal Values” on page 12.
ACIF allows fields to be defined but never referenced as part of an
index. Because ACIF requires either a field or trigger to appear on
the first page of a group (for example, a bank statement), you can
satisfy this requirement by defining a “dummy” field. This dummy field
allows ACIF to determine the beginning page of a group, but it is not
used as part of an index.
fileformat={record | record,
n | stream | stream,(newline=X
'
nn
'
)}
Specifies the format of the input file. If you do not specify fileformat,
the acif command uses stream as the default.
The fileformat parameter does not apply to input files that are
resources. Resource files are in MO:DCA-P or AFP data stream
format, and the acif command automatically determines that the file is
a resource. Values are:
record
The input file is formatted in S/370 record format, where
the first two bytes of each line, called the record
descriptor word (RDW), specify the length of the line.
Files with record format typically are MVS or VM files that
have a variable record format, and that are NFS-mounted
to AIX.
record,
n
The input file is formatted in such a way that each record
(including AFP data stream and MO:DCA-P records) is a
fixed length,
n bytes long. The value of n is a number
from 1 to 32767, and specifies the fixed length of the
entire record, excluding the RDW. The encapsulated size
of the AFP structured field must be less than the size of
n. Files with record,n format typically come with
fixed-length file attributes from a S/370 host system like
MVS or VM.
stream
The input file has no length information; it is a stream of
data separated by a newline character. The AFP portion
of the input file has its length information encapsulated in
the structured field. Files with stream format typically
come from a workstation operating system like AIX, OS/2,
or DOS.
Chapter 2. Using ACIF Parameters in AIX
33
Содержание S544-5285-01
Страница 1: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Страница 2: ......
Страница 3: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Страница 10: ...viii ACIF User s Guide...
Страница 21: ...Part 1 Information Common to AIX OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 1...
Страница 22: ...2 ACIF User s Guide...
Страница 40: ...20 ACIF User s Guide...
Страница 41: ...Part 2 Using ACIF in the AIX Environment Copyright IBM Corp 1993 1999 21...
Страница 42: ...22 ACIF User s Guide...
Страница 72: ...52 ACIF User s Guide...
Страница 96: ...76 ACIF User s Guide...
Страница 99: ...Part 3 Using ACIF in the OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 79...
Страница 100: ...80 ACIF User s Guide...
Страница 106: ...86 ACIF User s Guide...
Страница 134: ...Figure 24 Example of a Customer s Phone Bill 114 ACIF User s Guide...
Страница 142: ...122 ACIF User s Guide...
Страница 196: ...176 ACIF User s Guide...
Страница 197: ...Part 4 Appendixes Copyright IBM Corp 1993 1999 177...
Страница 198: ...178 ACIF User s Guide...
Страница 206: ...186 ACIF User s Guide...
Страница 210: ...190 ACIF User s Guide...
Страница 226: ...206 ACIF User s Guide...
Страница 253: ......
Страница 255: ...Spine information IBM IBM Print Services Facility User s Guide AFP Conversion and Indexing Facility...