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.

 




sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 337 views
  • 0 likes
  • 2 in conversation