I am constructing a little dataset based on some variables using SQL but I am having a problem with inserting the data with the contents of a variable.
This is what I have
Test dataset created...
%let testvar=XYZ;
PROC SQL;
insert into test;
values ('test field text &testvar. ');
quit;
This .sas file is not a macro? Does it have to be to translate the contents of the variable as it does not at the moment?
Thanks
Lee
Message was edited by: Lee2010