BookmarkSubscribeRSS Feed
xxformat_com
Barite | Level 11

How to get a header common to several variables using proc odstable.

 

With proc report no issue:

 

proc report data=sashelp.class;
    column name ('Results' height weight);
    define name / display ' ' ;
    define height / display 'Height';
    define weight / display 'Weight';
run;


But with proc odstable...

 

proc odstable data=sashelp.class;
    column name ('Results' height weight);
    *column name height weight;
    define name;
        header=' ';
    end;
    define height;
        header='Height';
    end;
    define weight;
        header='Weight';
    end;
run;

I'm looking for a solution because of useful footer features of proc odstable I would like to keep.

 

Regards,

Véronique

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 242 views
  • 0 likes
  • 1 in conversation