Hi,
when i tried the modification advised on the original problem, its works
then i modified to my real problem
proc sql noprint;
select cats(colname,'=',label,'') into : label separated by ' '
from dataset1;
quit;
proc datasets library=work nolist nodetails;
modify datset2;
rename &label ;
quit;
proc print data=datset2 noobs label;run;
data datset2_N;
set datset2;
run;
my code,
the proc print works and changes but the dataset doesnt change the same as the proc print data
proc sql noprint;
select cats(Variables,'=',Discription,' ') into : Discription separated by
from cfg.jp21vartable;
quit;
proc datasets library=in nolist nodetails;
modify jp21var;
rename &Discription;
quit;
proc print data=in.jp21var noobs label;
run;
data new;
set in.jp21var;
run;
... View more