BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Kastchei
Pyrite | Level 9
proc freq data = sasHelp.class;
    tables Sex*Age / list out = ___temp outCum;
run;
WARNING: The OUTCUM option is available only for one-way and LIST tables.

Should this warning say

WARNING: The OUTCUM option is available only for one-way tables.

or have I misunderstood the list option?

 

The output dataset does not have the cumulative variables, although the ODS output does.  The same happens on colleagues' machines.

 

SAS 9.4 TS Level 1M6

X64_10PRO platform

Windows Version 1.0.19041

1 ACCEPTED SOLUTION

Accepted Solutions
Quentin
Super User

I'm running M7, and get the message you expect:

 

1    %put &sysvlong ;
9.04.01M7P080520
2    proc freq data = sasHelp.class;
3        tables Sex*Age / list out = ___temp outCum;
4    run;

WARNING: The OUTCUM option is available only for one-way tables.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.___TEMP has 11 observations and 4 variables
The Boston Area SAS Users Group is hosting free webinars!
Next up: Joe Madden & Joseph Henry present Putting Power into the Hands of the Programmer with SAS Viya Workbench on Wednesday Nov 6.
Register now at https://www.basug.org/events.

View solution in original post

1 REPLY 1
Quentin
Super User

I'm running M7, and get the message you expect:

 

1    %put &sysvlong ;
9.04.01M7P080520
2    proc freq data = sasHelp.class;
3        tables Sex*Age / list out = ___temp outCum;
4    run;

WARNING: The OUTCUM option is available only for one-way tables.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.___TEMP has 11 observations and 4 variables
The Boston Area SAS Users Group is hosting free webinars!
Next up: Joe Madden & Joseph Henry present Putting Power into the Hands of the Programmer with SAS Viya Workbench on Wednesday Nov 6.
Register now at https://www.basug.org/events.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 672 views
  • 1 like
  • 2 in conversation