11-09-2017 02:15 PM
Hello I have some specific tokens. How to deal with them. Thanks!
input name $8.;
A of M
proc sql noprint;
select %nrbquote(name) into :n1 - :n4 from tt;
%put &n1. &n2. &n3. &n4.;
the log window shows nothing.
11-09-2017 02:28 PM - edited 11-09-2017 02:44 PM
%nrbquote doesn't work on SQL or ordinary SAS variables, it only works on macro variables.
You want to remove %nrbquote from PROC SQL, and then use
%put %superq(n1) &n2 %nrbquote(&n3) %quote(&n4);