Wasn't sure whether to post this here or under the Macro section - but it's here! This code works as expected: axis1 label=none value=(h=1.5;; proc gchart data=barsall; vbar period/sumvar=pct maxis=axis1 ; run; When I attempt to change axis1 into a macro variable (for automation), I get an error whose cause I don't understand. Code and log below. Please help me to eliminate the error. Thanks, Bill %let axis1=label=none value=(h=1.5); proc gchart data=barsall; vbar period/sumvar=pct maxis=&axis1 ; run; Log follows 30151 %let axis1=label=none value=(h=1.5); 30152 proc gchart data=barsall; NOTE: The previous statement has been deleted. 30153 vbar period/sumvar=pct 30154 maxis=&axis1 30155 ; NOTE: Line generated by the macro variable "AXIS1". 30155 label=none value=(h=1.5) - 22 76 ERROR 22-322: Syntax error, expecting one of the following: ;, ANNOTATE, ASCENDING, AUTOREF, CAUTOREF, CAXIS, CERROR, CFRAME, CFREQ, CLIPREF, CLM, COUTLINE, CPERCENT, CR, CREF, CTEXT, DESCENDING, DESCRIPTION, DISCRETE, ERRORBAR, FRAME, FREQ, FRONTREF, G100, GAXIS, GROUP, GSPACE, HMINOR, HREF, HTML, HTML_LEGEND, IFRAME, IMAGESTYLE, INSIDE, LAUTOREF, LEGEND, LEVELS, LR, LREF, MAXIS, MEAN, MIDPOINTS, MINOR, MISSING, NAME, NOAXIS, NOBASEREF, NOFRAME, NOHEADING, NOLEGEND, NOSPACE, NOZERO, OUTSIDE, PATTERNID, PERCENT, RANGE, RAXIS, REF, SPACE, SUBGROUP, SUM, SUMVAR, TYPE, VMINOR, VREF, WIDTH, WOUTLINE. ERROR 76-322: Syntax error, statement will be ignored. 30156 run;
... View more