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;
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!