Unfinished Code
*Lab 12 – Problem 1;
data
run;
proc
run;
I got correct for this.
%let list = dbirwt nprevist wtgain;
data four;
set lab.main;
keep &list;
run;
title "Using a Macro variable list";
proc means data=four mean;
var &list;
run;
but for 2nd problem I am getting error
Unfinished Code
*Lab 12 – Problem 2;
proc
run;
my finished code is
title "Using a Macro variable list";
proc means data=lab.four noprint;
var &list;
run;
but I am getting error as
Use the OUTPUT Statement of PROC MEANS to create a dataset.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.