%1 must be either USAGE IS INDEX or elementary numeric integer.
30
Cause . . . . . : A VARYING item in a SEARCH statement must be either an index name or an identifier. If it is an identifier, it must be described in the Data Division as USAGE IS INDEX or as an elementary numeric item without decimals.
Recovery . . . : Change the description of the identifier or use a different valid identifier.