It looks like an index value used by a SEARCH statement is not good. It is probably uninitialized when used (see the SET verb).
If you are trying to find out what the cause of the error is, then you could supply some code (if you know where to look), or you could ask a more detailed question.
Dimandja