Hi I have a call to a macro like
%GetData(1330);
How can I call this many times like
FOR n=1330 to 1730 by 5;
END;
as I do not wish to write out loads of %GetData(1330); %GetData(1335); %GetData(1340); %GetData(1345); .... etc.....
Hi,
try this:
%macro test;
%do n=1330 %to 1730 %by 5;
%getdata(&n);
%end;
%mend;
%test
View solution in original post
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.Register now and save with the early bird rate—just $795!
Register now
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!