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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -