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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 388 views
  • 0 likes
  • 1 in conversation