data myclass; set sashelp.class; keep name age height; *drop sex weight; run;
data myclass; set sashelp.class; format height 4.1 weight 3.; run;
proc print data=sashelp.class; run;
proc transpose data=sashelp.class out=class_t; id Name; *var Height Weight; run;
/* start the panelling */ ods tagsets.htmlpanel event = panel(start); title 'First proc Print'; proc print data=sashelp.class;run; title 'Second proc Print'; proc print data=sashelp.class;run; title 'Third proc Print'; proc print data=sashelp.class;run; /* Stop the current Panel */ ods tag...
/* Change the panel settings */ ods tagsets.htmlpanel options(panelcolumns='2' embedded_titles='no'); /* this bygroup get's a panel of it's own. */ title ; proc sort data=sashelp.class out=foo; by age; run; proc gchart data=foo; by age; h...
/* start a new, semi-automatic panel */ ods tagsets.htmlpanel event = panel(start); title 'Fourth proc Print'; proc print data=sashelp.class;run; title 'Fifth proc Print'; Footnote 'End of Fifth proc Print'; proc print data=sashelp.class;run; ods tagsets.htmlpanel event = panel(finish);
proc print data=sashelp.class;run; proc print data=sashelp.class;run; proc print data=sashelp.class;run;
%macro defaults ; %* these defaults may be passed in, or else they default ; %if %symexist(dset)=0 %then %do; %global dset; %let dset=sashelp.class; %end; %mend defaults; %defaults
ods listing close; ods tagsets.counter file="counter.txt"; proc print data=sashelp.class; run; ods tagsets.counter close; ods listing;