sas - Apparent symbolic reference not resolved -


the variable department has value of m&s in data step

set ttt;             departmentcomp=compress(departmentcomp);*for use in making directories;            call symput('ggg',trim((division)));     call symput('fff',trim((department))) 

the log displays symbolgen: macro variable fff resolves m&s warning: apparent symbolic reference s not resolved.

how can rid of warning suspect affects program?

use %superq() mask '&' , prevent resolution of '&s'. here's example you:

 60         data test;  61         comp = "%superq(fff)";  62         putlog "note: comp=%superq(fff)";  63         run;   note: comp=m&s  note: data set work.test has 1 observations , 1 variables. 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -