COBCH1931 Syntax can only be used with LIST, DICTIONARY and SET items

Syntax within the code has been used incorrectly.

Resolution:

Correct the code to properly match syntax with the items referenced.

Example:

In the following example, the CONTAINS syntax references a string; however, CONTAINS cannot be used with a string type.

           declare s as string = "Hello"
           if s contains "e"     *> Error the 'contains' syntax is not applicable to strings
               display "Pass"
           end-if