COBCH1932 Cannot use KEY phrase with sets

The code contains a KEY phrase that is used with a SET type. This is not allowed.

Resolution:

Correct the code to correctly use a SET type with the KEY phrase.

Example:

The following example shows the KEY phrase used incorrectly with the WRITE statement, which is not a SET type:

      $set ilref(System)
           declare set1 as set[string]
           create set1
           write set1 from "Hello" key "Hello"