%1 not key for table %2. Accepted as table key.
20
Cause . . . . . : The WHEN phrase of a SEARCH statement must be specified on a key for the table being searched.
Recovery . . . : Define the item as a table key.