Write and run SAS programs in your web browser

How to access old output result

Accepted Solution Solved
Reply
Contributor
Posts: 73
Accepted Solution

How to access old output result

Hello all,

 

I recently moved form SAS desk version to SAS studio. In the desk version, unless you delete the result, it stays there forever, and the new commond's result just stack on.

But in the studio, every time i submit a commond, the old results are all gone.

 

I want to chage it back to the way as in desk version. I tryed to change the preference, but i cannot find the one for this concern.

 

Thank you in advance for any help!

 

Best wishes.

 


Accepted Solutions
Solution
‎06-05-2017 01:21 PM
Contributor
Posts: 70

Re: How to access old output result

[ Edited ]

If you are using SAS 9.4 maintenance release 1 or later, you can run programs in interactive mode in SAS Studio.  The screen shot below shows the location of the interactive mode icon in SAS Studio, between the find and replace code icon and the format code icon. 

 

Interactive mode icon in SAS Studio.png

 

There is an check box in the Preferences to start new programs in interactive mode.  That check box is in the Display section in the screen shot below.

 

Start new programs in interactive mode check box in SAS Studio preferences.png

 

See "Working in Interactive Mode" in the SAS Studio documentation for more details.  I tried to add a link here, but it went to the wrong spot.  

 

View solution in original post


All Replies
Frequent Contributor
Posts: 110

Re: How to access old output result

[ Edited ]

Hi @Xiaoningdemao,

Great that you have moved to SAS Studio, it's a very convenient way of using SAS (especially if one is a Mac user or wants to be more cloudy)! I can refer you to @Cynthia_sas's answer to a related question:

https://communities.sas.com/t5/SAS-Analytics-U/How-do-I-turn-off-output-in-Studio-University-Edition...

 

Although the person who asked the question was wondering how to turn off the output / result, you can use ODS to change the path of your output and save it directly in a folder. That way, you can access your output right away even if it is not saved in your Results window.

Additionally, here is the link that provides some information on ODS and how to change the output environment:

 

http://support.sas.com/documentation/cdl/en/webeditorug/68828/HTML/default/viewer.htm#n0lyxx45gr31pa...

For instance, you can use the following code if you want to save your result in a given folder (e.g., in your Output folder). 

ods html path='SPECIFY LOCATION OF YOUR FOLDER';


I hope this helps a bit, but I think the links provided above should give you some guidance on how to save your output in SAS Studio and get around of losing your results.


Cheers

Contributor
Posts: 73

Re: How to access old output result

Dear Yegen,

 

Thank you very much for your reply! This is very helpful but not exactly what I wanted.

 

Say I have to proc freq commonds, if I submit them together (in one run), then I will have the following result.

But if i submit them separately, in two runs, then I can only see the second output table in SAS studio the previous results will be erased. But with SAS desk, i can still view the first proc freq results, even though I submit them separately.

 

I want to change to the SAS desk's result design.

 

Thanks again!!!

 

Best wishes.


Capture.JPG
Solution
‎06-05-2017 01:21 PM
Contributor
Posts: 70

Re: How to access old output result

[ Edited ]

If you are using SAS 9.4 maintenance release 1 or later, you can run programs in interactive mode in SAS Studio.  The screen shot below shows the location of the interactive mode icon in SAS Studio, between the find and replace code icon and the format code icon. 

 

Interactive mode icon in SAS Studio.png

 

There is an check box in the Preferences to start new programs in interactive mode.  That check box is in the Display section in the screen shot below.

 

Start new programs in interactive mode check box in SAS Studio preferences.png

 

See "Working in Interactive Mode" in the SAS Studio documentation for more details.  I tried to add a link here, but it went to the wrong spot.  

 

Contributor
Posts: 73

Re: How to access old output result

Dear SuzanneDorinski,

Thank you very much! This is exactly what I need!

Best wishes.
Frequent Contributor
Posts: 110

Re: How to access old output result

@Xiaoningdemao, glad to see that @SuzanneDorinskiwas able to solve the issue.

Cheers

Contributor
Posts: 73

Re: How to access old output result

Thanks~

Have a good day. Smiley Happy
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 188 views
  • 3 likes
  • 3 in conversation