COBCH1462 KEY may not be of type boolean

You cannot define a KEY to be a boolean data item.