Can you help me out on this situation? i have tried to pass several headers in a array to SAS macro to create graphs. I am pretty new to SAS programming and I can't figure out how it happened. Thanks a lot for your help.
/*Create Trend Chart*/
%macro trendChart(dataFile,xVariable,yVariable,group);
proc gplot data=&dataFile;
plot &yVariable*&xVariable=&group;
symbol1 v=star c=blue;
title "Time Series Plot";
run;
quit;
%mend trendChart;
data _null_;
/*Create Trend Chart*/
Array variableList[*] Res_Rd1 OW_perp_Rd2;
do i=1 to dim(variableList);
var_name=vname(variableList[i]);
put var_name;
%trendChart(TDMR.Children,M_Date,var_name,t_);
end;
run;