this seems to have fixed my problem thanks Quentin
%macro symgetvariables; ccc=symget('ccc'); tc=symget('tc'); /*term code*/ tca=symget('tca'); /*term code*/ ay=put(symget('ay'),$4.); ib=symget('ib'); sb=symget('ib'); mes=symget('mes'); pr=symget('pr'); sr=symget('sr'); tr=symget('tr'); col=symget('col'); mc=symget('mc'); smc=symget('smc'); smd=symget('smd'); sl=symget('sl'); cl=symget('cl'); ac=symget('ac'); sm=symget('sm');
%if %sysevalf(%superq(ib)=,boolean) %then %let ib=%; %if %sysevalf(%superq(sb)=,boolean) %then %let sb=%; %if %sysevalf(%superq(sl)=,boolean) %then %let sl=%; %if %sysevalf(%superq(smd)=,boolean) %then %let smd=%; %if %sysevalf(%superq(sm)=,boolean) %then %let sm=%; %if %sysevalf(%superq(smc)=,boolean) %then %let smc=%; %if %sysevalf(%superq(ac)=,boolean) %then %let ac=%; %if %sysevalf(%superq(ccc)=,boolean) %then %let ccc=%; %if %sysevalf(%superq(cs)=,boolean) %then %let cs=%; %if %sysevalf(%superq(cl)=,boolean) %then %let cl=%;
%mend;
... View more