Hi all, in my study, I want to study the subsample without observations from some countries without cutting the sample set

My code is

Code:
xtreg TAT_w1 $tatcov_ post1treatvn post1 treatvn i.year1 if not (inlist(GEOGN,"CHINA","INDIA")), fe vce(cluster TYPE2)
In this case I want to study the whole sample without observations from GEOGN(country) are "CHINA"or "INDIA"

However the code above got the message

Code:
.      xtreg TAT_w1 $tatcov_ post1treatvn post1 treatvn i.year1 if not (inlist(GEOGN,"CHINA","INDIA")), fe vce(cluster TYPE2)
not not found
r(111);
Could you please guide me, thank you.