$ 0 0 Hello Pavan, Use offset to check for first three characters. case variable+0(3). when 'CST'. endcase. Thanks