While you have received a good suggestion, the context is wrong.
You should use &VALUE, not &VALUE&I:
%if &value in ........;
However, do NOT add parentheses around your existing list of values. The corrected version would simply be:
%if &value in Hari RRR,John yy,Peter,Jai,Phano %then
%put Value found within list.;
... View more