@Abelp9 wrote:... you have to enter them that way literally, with quotes and everything.
you have to enter them that way literally, with quotes and everything.
In the world that I live and work in, the programmer has control over such details, and can fix sub-optimal code.
The proper solution: don't have quotes in macro variables in the first place.
%let producto = '12345','54321'; %let product2 = %sysfunc(compress(%bquote(&producto),%str(%'))); %put &=producto &=product2 ;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.