can be specified either as character data or

 

 

data.

(If

the

anythinginput fileotheris thanASCII, then

 

 

the

valuemust

be

specified

as

hexadecimal

data.)

 

 

attribute

name is

a

string

from

1 to

250 bytes

i

 

ACIF does not perform any validity checking on the

 

contents of

the

attribute

name.

 

 

 

 

field

n [,field n ...]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Specifies one orfieldmoren

parameters

that

compose

 

 

the

index

value.

A

maximumfieldofn

16parameters

can

 

 

be

specified.

If

morefield n thanparamoneter

is

 

 

 

specified, ACIF concatenates them into one physica

 

string of data. No delimiters are used between

 

 

concatenated fields. Because an index value has

 

 

maximum

length

of

250

bytes,

the

total

of

all spec

 

field

n

parameters

for a single index cannot exceed

 

length. ACIF reports an error condition and terminat

 

processing

if

this

 

occurs.

 

 

 

 

 

 

For

example,

if

you

want

to

specify

the

following

fields

a

you

enter:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ÿfield1='1234567'

Ÿfield2=ð,1ð,2ð

Ÿfield3=ð,25,2ð

Ÿindex1='Patent Number',field1

Ÿindex2='Employee Name',field2,field3

The example above specifies that the first index tag is literal character'1234567string', while the other two index tags a made up of fields within the file records.

Ÿfield1='123456'

Ÿfield2='444556677'

Ÿindex1='Account Number',field1

Ÿindex2='Social Security Number',field2

This example

specifies

both

index tags as literal values.

will be indexed

using these two values. The resulting index

contains only

one

record

in

this case.

Note: The preceding examples are based on ASCII input data input data werenot ASCII, then in ACIF for AIX the litera values used in these examples would be expressed in hexadecimal strings. For an example using hexadecimal strings, see “Specifying ACIF Processing Parameters for EBCDIC Input Data” on page 58.

indexdd={INDEX

filename}

 

 

 

 

 

 

 

 

 

Specifies

the

name

or

the

full

path

name for

the

index ob

When

ACIF

is

indexing the

file, it writes indexing informati

with

this

name. If you specify the file name without a

the

index

object

file

into your current

directory. Values

INDEX

ACIF

usesINDEX

as

the

name

for

the

index

object f

Chapter 2. Using ACIF Parameters 37in AIX

Page 57
Image 57
IBM S544-5285-01 manual Field Field n, Filename Specifies Name Full Path Name for Index ob When, Name For Index Object f