OFFSET keyword
Use the OFFSET keyword along with the DATA keyword to indicate that the string specified for the DATA keyword must occur at an exact location within the message.
You can specify a single number or a range for the OFFSET keyword value. A range is two numbers in parentheses, separated by a comma. If you specify a single number, the string must begin at that offset. If you specify a range, the string can start anywhere in the range and must be wholly contained within the range.
If you do not also specify the SEGMENT keyword, the offset is from the beginning of the message data. Message Advisor considers each data segment to immediately follow the previous data segment and ignores record boundaries. If you do specify the SEGMENT keyword, the offset is from the beginning of the first segment that you indicate. Because Message Advisor counts but does not search the segment header word, the beginning offset must be at least four.
Parameter | Description |
|---|---|
(nnnn,nnnn/*) | the offset or offset range at which the string specified for the DATA keyword must occur within the message If you specify an offset range, you can replace the second nnnn value with * to indicate no upper limit. |
Related topic