以下的宏变量'variables' 包括上百个变量
%let variables=CASEID a2564toip adequacy adrenalt affordab ageyounp airconp buyhmflg cabletv cdplyer cdwriter ch04toip ch517toip computer condodev cookingp dryerp dshwash dvd dvdwriter ecfam eiflag f001 f002 f008 freezer fypyflag g001 g002 g003 g004 g007 g009 g010 g011 g019 g020 g021 g023 g024 g025 g026 g032 g040 h001 h002 h003 h004 h005 h008 h009 h010 h011 h016 h017 h022 h023 h026 h070 heatage heatfuep heatmaip hhincear hhincinv hhincoth hhinctot hhinctra hhsztotp hhtypep hotwatep i001 i002 i003 i004 i005 i006 i010 i011 i042 i046 ......
然后我想把其中某些变量从上面这个宏变量里面剔除掉, 比如剔除掉以下变量
%let categori= affordab fypyflag urbrur urbsizep typdwelp tenuryrp tentoip repairs buyhmflg heatmaip heatfuep hotwatep ....
请问应该如何剔除掉?
PS: 我的想法本来是用这个
%let noncate=%sysfunc(compress(&variables, %sysfunc(compress(&categori.))));
但是结果不对。