The SAS Output Delivery System and reporting techniques

replacing var name with label in multiway list format

Reply
Contributor
Posts: 21

replacing var name with label in multiway list format

Hello,

I am trying to get the list output with Proc Freq and the varaible name is
replaced by its label. the table template BASE.Freq.List was modified.
however there is no change observed. I am wondering if anyone on the list
had successfully changed the var label before?

I noticed that it was metioned on SAS website that modifying Base.Freq.List is the way you get the costomized output. just not sure why it is not working.

Environment: SAS9.2 on WinXP Pro.

thanks!

Yu


the code I am working on:


ods path work.temptemp(update)
sashelp.tmplmst(read);
*ODS path(remove) work.temptemp;

ods path show;
proc template;
edit Base.Freq.List;

edit FVariable; /*tried to modify the FlistVariable and no luck*/
header=varlabel; /*this is the only statement added to the table
template*/

end;
end;
run;
data class;
set sashelp.class;
grp=weight>110;
label sex='Gender'
grp='Weight>110?';
run;

proc freq data=class;
table grp*weight/list;
run;
Ask a Question
Discussion stats
  • 0 replies
  • 235 views
  • 0 likes
  • 1 in conversation