« GIS realtime: BusMonster Seattle | Main | HTML Ampersand Character Codes ascii »

sas proc sql assign value to macro variable

Calculate a value and assign it to a macro variable with
sas proc sql


proc sql noprint;
select ssn format=9. into :ssnok
separated by ' ' from ssn_list;
quit;

%put &ssnok;
123456789 234567890 345678901 456789012

[CREATING MACRO VARIABLES VIA PROC SQL PDF]

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)