ŸThe first field in the example is located in the index

recordtrigger1( ). The field is 20 bytes in length starting second byte of the record.

ŸThe second field is located five records down from the

anchor record. The field is 10 bytes in length starting byte of the record.

ŸThe third field is located 15 records before the inde

record. It is 5 bytes in length starting at byte 30.

ŸThe fourth and fifth fields are literal (constant) values field is specified in ASCII, while the fifth field is hexadecimal (for example, EBCDIC) data.

For more information about using data values or literal values indexing, refer to “Indexing with Data Values” on page 11, “Indexing with Literal Values” on page 12.

ACIF allows fields to be defined but never referenced as index. Because ACIF requires eithertrigger a fieldtoappearor on

the first page of a group (for example, a bank statement) satisfy this requirement by defining a “dummy” field. This allows ACIF to determine the beginning page of a group, but used as part of an index.

fileformat={record record,

n

stream

stream,(newline=X 'nn ')}

Specifies

the

format

of the input file. fileformatIf you, do not s

theacif command

usestream

as the default.

The fileformat parameter does not apply to input files that a resources. Resource files are in MO:DCA-P or AFP data stream format, and acifthe command automatically determines that the file a resource. Values are:

record

The

input

file

is formatted

in

S/370

record

format,

 

 

the first two bytes of each line, called the re

 

 

descriptor

word

(RDW),

 

specify

the

length

of

the

 

 

Files

withrecord

format

typically

 

are MVS or VM files

 

 

have

a

variable

record

format,

and

that

are

NFS-mou

 

 

to

AIX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

record, n

The

input file is formatted in such a way that e

 

 

(including AFP data stream and

 

MO:DCA-P records) is a

 

 

fixed length,bytes long. The nvalueis

 

aof number

 

 

 

 

from

1 to 32767, and specifies the fixed length

 

 

entire

record,

 

excluding

the

RDW.

The

encapsulated

 

 

of

the

AFP

structured

field

must be less than the

 

 

n .

Files withrecord,

n

format

 

typically

come

with

 

 

 

 

fixed-length file attributes

from

a

S/370

host

syst

 

 

MVS

or

 

VM.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

stream

The

input file has no length

information; it is a s

 

 

data

separated

by

a

newline

 

character.

The

AFP po

 

 

of

the input file has its length information encapsu

 

 

the

structured

 

field.streamFiles formatwith

typically

 

 

 

 

come

from

a workstation

 

operating

system

like

AIX,

 

 

or

DOS.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Chapter

2.

Using ACIF

Parameters

33in

AIX

 

Page 53
Image 53
IBM S544-5285-01 manual As the default, Record, n, Rdw, Stream