Field Operator

The value in a field can be compared against the value in another field using this operator. The format of the field operator is:
FIELD:record type, field offset, field length
where:
record type
Indicates the previous record type in which to look for the field. If the record type is the same as the current record, the field in the current record is used.
field offset
Contains the offset of the field being referenced
field length
Contains the length of the field being referenced
In this example, the value must be the same as the value with length 2 at offset 3 in the previous type 25 record:
value in {FIELD:25, 3, 2}
The field section can be included with other valid values for the field being tested. Multiple field sections, along with the defined values, can be included together. The following is valid:
value in {A | FIELD:31, 2, 1 | B | FIELD:20, 5, 1 | C-G | K}
The value must be A, B, C through G, K, the same as the value with length 1 at offset 2 in the previous type 31 record, or the same as the value with length 1 at offset 5 in the previous type 20 record.
Note: When referencing a field in the current record, the field must be before the one being compared against. Forward references are not supported.