/\ example phone bill \/
/\ DATA CHARACTERISTICS
\/
cc=yes
/\ carriage control used \/
cctype=a
/\ EBCDIC ANSI carriage controls \/
chars=GT15
/\ coded font \/
cpgid=ð37
/\ code page identifier \/
/\ FIELD AND INDEX DEFINITION
\/
field1=13,66,15
/\ Account Number data field \/
field2=ð,5ð,3ð
/\ Name data field \/
field3=1,5ð,3ð
/\ Address data field \/
field4=2,5ð,3ð
/\ City, State, Zip data field \/
field5=4,6ð,12
/\ Date Due data field \/
index1=X'C1838396A495A34ðD5A494828599',field1
/\ 1st index attr (Account Number) \/
index2=X'D5819485',field2
/\ 2nd index attr (Name) \/
index3=X'C184849985A2A2',field3
/\ 3rd index attr (Address) \/
index4=X'C389A3A86B4ðE2A381A3856B4ðE98997',field4
/\ 4th index attr (City, State, Zip) \/
index5=X'C481A3854ðC4A485',field5
/\ 5th index attr (Date Due) \/
/\ INDEXING INFORMATION
\/
fileformat=record
/\ input file format \/
indexobj=all
/\ index object file entries \/
/\ RESOURCE INFORMATION
\/
formdef=F1A1ð11ð
/\ formdef name \/
pagedef=P1Að8682
/\ pagedef name \/
fdeflib=/usr/res/fdeflib1:/usr/res/fdeflib2
/\ formdef directories \/
fontlib=/usr/res/fontlib1:/usr/res/fontlib2
/\ font directories \/
ovlylib=/usr/res/ovlylib1:/usr/res/ovlylib2
/\ overlay directories \/
pdeflib=/usr/res/pdeflib1:/usr/res/pdeflib2
/\ pagedef directories \/
pseglib=/usr/res/pseglib1:/usr/res/pseglib2
/\ pseg directories \/
restype=fdef,pseg,ovly
/\ resource type selection \/
/\ FILE INFORMATION
\/
indexdd=INDXOBJ
/\ index file name \/
inputdd=/usr/data/INFILE
/\ input path & file name \/
msgdd=acif.msg
/\ error message file name \/
outputdd=OUTDOC
/\ output file name \/
resobjdd=RESDATA
/\ resource file name \/
/\ EXIT AND TRIGGER INFORMATION
\/
trigger1=\,1,X'F1'
/\ 1st trigger (1) \/
trigger2=13,5ð,X'C1C3C3D6E4D5E34ðD5E4D4C2C5D9'
/\ 2nd trigger (ACCOUNT NUMBER) \/
Figure 13. Example of a Parameter File for EBCDIC Input Data
The example uses the following data values as the indexing attributes:
Account Number
Name
Address
City, State, Zip
Date Due
The task is to specify the ACIF indexing parameters so that the first page of each
bill includes group-level indexing tags containing the values of all five of these
attributes.
To generate these indexing attributes, specify the trigger1 parameter first, because
ACIF always scans for the data specified in trigger1 first. Because the data
contains carriage control characters, including a carriage control character of 1 to
indicate a new page, request that ACIF locate the start of a page by searching
every record in the file for a trigger value of the hexadecimal string for ‘1’ in column
1 of the data. To do this, specify:
trigger1 = \,1,X'F1'
When ACIF finds a record that contains a ‘1’ in column 1, that record becomes the
indexing anchor record.
Chapter 3. Example of an ACIF Application in AIX
59
Summary of Contents for S544-5285-01
Page 1: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Page 2: ......
Page 3: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Page 10: ...viii ACIF User s Guide...
Page 22: ...2 ACIF User s Guide...
Page 40: ...20 ACIF User s Guide...
Page 41: ...Part 2 Using ACIF in the AIX Environment Copyright IBM Corp 1993 1999 21...
Page 42: ...22 ACIF User s Guide...
Page 72: ...52 ACIF User s Guide...
Page 96: ...76 ACIF User s Guide...
Page 99: ...Part 3 Using ACIF in the OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 79...
Page 100: ...80 ACIF User s Guide...
Page 106: ...86 ACIF User s Guide...
Page 134: ...Figure 24 Example of a Customer s Phone Bill 114 ACIF User s Guide...
Page 142: ...122 ACIF User s Guide...
Page 196: ...176 ACIF User s Guide...
Page 197: ...Part 4 Appendixes Copyright IBM Corp 1993 1999 177...
Page 198: ...178 ACIF User s Guide...
Page 206: ...186 ACIF User s Guide...
Page 210: ...190 ACIF User s Guide...
Page 226: ...206 ACIF User s Guide...
Page 253: ......