Hi, I would like to do graph in SAS. But I have an error:
axis1
order = (0 to &max1. by 6)
major = (w=2 height=3pt )
%do i=0 %to &max1.;
%if %sysfunc(MOD(&i,12) = 0) %then %do;
origin= (,2.0in)
%end;
%else %do;
origin= (,1.0in)
%end;
%end;
minor = (number=1 w=2 height=1.5pt)
width = 2;
This is clearly part of a larger chunk of code. Please post the entire thing 🙂
Closing %sysfunc before "= 0" should solve the problem.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.