-- simple construct select case cc when 'A' then say 'the case is A' when 'B' then say 'the case is B' otherwise say 'selection not recognized' end