Hi, I am trying to do multiple runs using
different variables each time and I was wondering
if I can use macro to automate it.
For example, I am trying to do:
proc gplot data=dat;
plot a * b;
run;
proc gplot data=dat;
plot c * d;
run;
proc gplot data=dat;
plot e * f;
run;
proc gplot data=dat;
plot a * e;
run;
proc gplot data=dat;
plot b * f;
run;
so on and so forth...
I am wondering rather than typing the run over and over,
if there is a way to designate list of variables to
marcro and let it run on its own.
I am a beginning sas user and not familiar with macros.
I appreciate your help. Thanks.
different variables each time and I was wondering
if I can use macro to automate it.
For example, I am trying to do:
proc gplot data=dat;
plot a * b;
run;
proc gplot data=dat;
plot c * d;
run;
proc gplot data=dat;
plot e * f;
run;
proc gplot data=dat;
plot a * e;
run;
proc gplot data=dat;
plot b * f;
run;
so on and so forth...
I am wondering rather than typing the run over and over,
if there is a way to designate list of variables to
marcro and let it run on its own.
I am a beginning sas user and not familiar with macros.
I appreciate your help. Thanks.