I have program with data sets and proc sql. At the end of the program I would like to check final value and decide if the part of the program should be executed again with different parameters or the value is ok.
Is there a way I can do loop datasets and procsql ? (For example I want to repeat all the code below.)
proc sql;
create table first as
select * from qw;
quit;
data st;
a = 1
run;
proc sql;
create table st as
select * from fir;
quit;
Many thanks for any help. Michal