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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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