BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Phil_NZ
Barite | Level 11

Hi SAS Users,

 

Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.

My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)

 

ods output Quantiles=outlier Basic Statistical Measures=summ;
proc univariate data=sashelp.shoes noprint;
var sales Inventory;
run;

However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.

The warning log is as below:

WARNING: Output 'Measures' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Statistical' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Basic' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, verify 
         that the appropriate procedure options are used to produce the requested output object.  For example, verify that the 
         NOPRINT option is not used.

Can you please help me to sort it out?

Many thanks and warm regards.

 

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Basic Statistical Measures is not a valid table name, a good clue towards that is the spaces in the name. 

 

Use ODS TRACE to find the exact table name or find it in the documentation, under Details, ODSTable Names

 


@Phil_NZ wrote:

Hi SAS Users,

 

Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.

My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)

 

ods output Quantiles=outlier Basic Statistical Measures=summ;
proc univariate data=sashelp.shoes noprint;
var sales Inventory;
run;

However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.

The warning log is as below:

WARNING: Output 'Measures' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Statistical' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Basic' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, verify 
         that the appropriate procedure options are used to produce the requested output object.  For example, verify that the 
         NOPRINT option is not used.

Can you please help me to sort it out?

Many thanks and warm regards.

 




View solution in original post

1 REPLY 1
Reeza
Super User

Basic Statistical Measures is not a valid table name, a good clue towards that is the spaces in the name. 

 

Use ODS TRACE to find the exact table name or find it in the documentation, under Details, ODSTable Names

 


@Phil_NZ wrote:

Hi SAS Users,

 

Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.

My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)

 

ods output Quantiles=outlier Basic Statistical Measures=summ;
proc univariate data=sashelp.shoes noprint;
var sales Inventory;
run;

However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.

The warning log is as below:

WARNING: Output 'Measures' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Statistical' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, 
         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that 
         the NOPRINT option is not used.
WARNING: Output 'Basic' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, verify 
         that the appropriate procedure options are used to produce the requested output object.  For example, verify that the 
         NOPRINT option is not used.

Can you please help me to sort it out?

Many thanks and warm regards.

 




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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 689 views
  • 0 likes
  • 2 in conversation