Specifying indexing parameters
To locate indexing attributes in the sample report, two TRIGGER parameters are required that tell ACIF to examine the first byte of an input record and then look for a specific hexadecimal string.
Before you begin
- Account Number (acctnum)
- Customer Name (custnam)
- Statement Date (sdate)
About this task
To locate these indexing attributes in the sample report, two TRIGGER parameters are required. The first trigger tells ACIF to examine the first byte of every input record until it finds the occurrence of an ANSI skip-to-channel one carriage control character.
'1'
(on
z/OS
systems) or hexadecimal X'F1'
(on
multiplatform systems) in the first byte, ACIF uses the second trigger
to look for the following string starting in column 72 of the same
input record: - On
z/OS
systems:
the character string
'Page 0001'
- On multiplatform systems: the hexadecimal string
X'D7C1C7C540F0F0F0F1'
(PAGE 0001)
'1'
(on
z/OS
systems) or hexadecimal X'F1'
(on
multiplatform systems) in the first byte is considered the anchor
record. ACIF uses the anchor record to locate index values. The trigger
specifications are expressed as follows:trigger1=*,1,'1' /* Skip to Channel 1 */
trigger2=0,72,'Page 0001'
trigger1=*,1,X'F1' /* Skip to Channel 1 */
trigger2=0,72,X'D7C1C7C540F0F0F0F1' /* PAGE 0001 */
ACIF uses both trigger values to locate the place in the report file to begin searching for the data described in the parameters.
- On
z/OS
systems:
the character string
'custnam'
- On multiplatform systems: the hexadecimal string
X'839AA2A3958194'
(custnam)
field1=2,40,20 /* custnam field */
index1='custnam',field1 /* index/db field = custnam */
field1=2,40,20 /* custnam field */
index1=X'839AA2A3958194',field1 /* index/db field = custnam */
- On
z/OS
systems:
the character string
'sdate'
- On multiplatform systems: the hexadecimal string
X'A28481A385'
(sdate)
field2=6,56,10 /* sdate field */
index2='sdate',field2 /* index/db field = sdate */
field2=6,56,10 /* sdate field */
index2=X'A28481A385',field2 /* index/db field = sdate */
- On
z/OS
systems:
the character string
'acctnum'
- On multiplatform systems: the hexadecimal string
X'818383A395A494'
(acctnum)
field3=7,56,19 /* acctnum field */
index3='acctnum',field3 /* index/db field = acctnum */
field3=7,56,19 /* acctnum field */
index3=X'818383A395A494',field3 /* index/db field = acctnum */
After indexing the report, Content Manager OnDemand stores the index values in the database for each of the three indexing attributes for each statement in the input data stream. Using a Content Manager OnDemand client program, you can locate a specific customer statement using a date, and optionally, any combination of customer name and customer number.