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

Hello,

 

I am working on proc corr and I need to save the output in SAS dataset under WORK library, however the only printed variables are:

MEAN

STD

N

CORR

CORR

 

Can you please advise?

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Before the code run:

ods trace on;

This will show in the listing all the objects which are created.  You can then re-run the code and save the various output models with:

ods output <object>=<dataset>;

Per:

https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html

View solution in original post

4 REPLIES 4
HS2
Fluorite | Level 6 HS2
Fluorite | Level 6

Hello,

 

Thank you 🙂

 

But actually I want to save this CI under SAS library dataset, below the attached screenshot of the ONLY variables/outputs printed in a dataset under WORK library.

 

 

 

 

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Before the code run:

ods trace on;

This will show in the listing all the objects which are created.  You can then re-run the code and save the various output models with:

ods output <object>=<dataset>;

Per:

https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html

HS2
Fluorite | Level 6 HS2
Fluorite | Level 6

Thank you!!

It worked 🙂

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 4 replies
  • 1110 views
  • 1 like
  • 2 in conversation