data test;
input onezz two threezz;
datalines;
1 2 3
;
data _null_;
set sashelp.vcolumn end=lr;
where libname='WORK' and memname='TEST';
if _n_ = 1 then
call execute('proc datasets lib=work nolist; modify test;');
if substr(name,length(name)-1,2)='zz' then
call execute(compbl(cat('rename ', name, '=', tranwrd(name, 'zz', ''), ';')));
if lr then call execute('quit;');
run;
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!