Trigger FIELD syntax

FIELDn=record,column,length,(TRIGGER=n,BASE={0|TRIGGER})

Options and values

n
The field parameter identifier. When adding a field parameter, use the next available number, beginning with 1 .
record
The relative record number from the trigger on which the field is based. This is the record number where the 390 indexer begins to search for the field. The supported range of values are +/− 0 to 255.
column
The relative column number from the BASE. This is the column number where the 390 indexer begins to search for the field. A value of 1 refers to the first byte in the record where the carriage control characters reside. For those applications that use a specific carriage-control character to define page boundaries (for example, skip-to-channel one), consider defining the value of the carriage-control character as one of the TRIGGER parameters. The column value can be 1 to 32756.
length
The number of contiguous bytes (characters) that compose the field. The supported range of values are 1 to 254. The field might be partially or completely outside the record that was read. In this case, the 390 indexer uses blanks for the data that was not in the record.
TRIGGER=n
Identifies the trigger parameter that the 390 indexer uses to locate the field. Replace n with the number of a defined TRIGGER parameter.
BASE={0|TRIGGER}
Determines whether the 390 indexer uses the starting column number of the trigger string value to locate the field data. Choose from 0 or TRIGGER. If BASE=0, the indexer adds zero to the field column offset. If BASE=TRIGGER, the indexer adds the starting column number of the trigger string value to the field column offset. You should use BASE=0 if the field data always starts in a specific column. You should use BASE=TRIGGER if the field data doesn't always start in a specific column, but is always offset from the trigger string value a specific number of columns. For example, a trigger occurs in the second record on a page. The trigger string value can begin in any column in the record. A field base on this trigger occurs in the trigger record. The starting column number of the field is always ten bytes from the starting column number of the trigger. Specify BASE=TRIGGER and a column offset of ten so that ACIF correctly locates the field, regardless of the starting column of the trigger string value.
Example
The following field parameter causes the 390 indexer to locate field values that begin in column 83 of the same record that contains the TRIGGER1 string value. The field length is eight bytes. We specify BASE=0 because the field data always starts in the same column.
TRIGGER1=*,1,X'F1',(TYPE=GROUP)
FIELD1=0,83,8,(TRIGGER=1,BASE=0)
The following field parameter causes the indexer to locate field values that begin ten columns offset from the trigger string value. The trigger string value can start in any column in any record. Basing the field on TRIGGER2 and specifying BASE=TRIGGER allows the indexer to locate the field by adding ten to the starting column offset of the trigger string value.
TRIGGER2=*,*,X'E2A482A396A38193',(TYPE=FLOAT)
FIELD2=0,10,12,(TRIGGER=2,BASE=TRIGGER)