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

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
SuzanneDorinski
Lapis Lazuli | Level 10

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

6 REPLIES 6
Yegen
Pyrite | Level 9

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

Xiaoningdemao
Quartz | Level 8

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
SuzanneDorinski
Lapis Lazuli | Level 10

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.  

 

Xiaoningdemao
Quartz | Level 8
Dear SuzanneDorinski,

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

Best wishes.
Yegen
Pyrite | Level 9

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

Cheers

Xiaoningdemao
Quartz | Level 8
Thanks~

Have a good day. 🙂

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!

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
  • 6 replies
  • 2695 views
  • 3 likes
  • 3 in conversation