Subsequent trigger n

parameters

are

defined

relative

to

the

indexing

ancho

In this

example,

you

want

to ensure

that

the

page

being indexed

is

the

bill,

which

is the only page in the

 

bill

that has

the

hexadecima

‘ACCOUNT NUMBER’ starting at byte 50 in the

 

13th

record

following

the

anc

record. To specify this additional trigger for

locating

the

correct

p

enter:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

trigger2=13,5ð,X'C1C3C3D6E4D5E34ðD5E4D4C2C5D9'

 

 

 

 

 

 

 

 

 

 

 

 

ACIF

uses

both

trigger values to locate a

place

in

the

file

to

 

begi

data

supplied index theparameters.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Next, specify the attribute name of the

first

indexing

parameter

as

string

for'Account Number',

and

define

the

location

of

the

attribute

value

data

relative

to the index anchortrigger1record.Becauseset bythe

data

value

 

for

the Account Number attribute is located in

the 13th

 

record

from

 

the

record

starting

in

byte 66 and

extending

for

15

bytes,

specify:

 

 

field1=13,66,15

index1=X'C1838396A495A34ðD5A494828599',field1

To create the indexing tag for the Name attribute, define the hexad 'Name' as the indexing attribute. Locate the value for ‘Name’ in the the data starting at byte 50 and extending for 30 bytes. The ACIF p specify this are:

field2=ð,5ð,3ð

index2=X'D5819485',field2

Repeat this process to specify the other three indexing tags, so t attributes and values are defined as follows:

Ÿindex1=X'C1838396A495A34ðD5A494828599',field1

X'C1838396A495A34ðD5A494828599' is ‘Account Number’, the 1st index attribute

field1

maps

 

to

field1the

index

value,

which

is:

 

-

13 lines

down from the

indexing

anchor record, 66 columns across

 

 

15 bytes

in

length

 

 

 

 

 

Ÿ index2=X'D5819485',field2

 

 

 

 

 

 

X'D5819485'

is

‘Name’,

the

2nd index

attribute

field2

maps

 

to

field2the

index

value,

which

is:

 

-

0

lines

down

(in

the

indexing

anchor

record), 50 columns across,

 

30

bytes

in

length

 

 

 

 

Ÿ index3=X'C184849985A2A2',field3

 

 

 

X'C184849985A2A2'

is ‘Address’, the

3rd index attribute

field3

maps

to

field3the

index

value,

which

is:

 

- 1

line down

from

the

indexing

anchor

record, 50 columns across,

 

30

bytes

in

length

 

 

 

 

Ÿindex4=X'C389A3A86B4ðE2A381A3856B4ðE98997',field4

X'C389A3A86B4ðE2A381A3856B4ðE98997' is ‘City, State, Zip’, the 4th index attribute

field4

maps

to field4the

index

value,

which is:

- 2

lines

down

from

the

indexing

anchor record, 50 columns across,

30 bytes

in

length

 

 

 

60 ACIF User’s Guide

Page 80
Image 80
IBM S544-5285-01 manual Field1, Field2, Field3