BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
saurabhtri7
Calcite | Level 5

I have got the SAS re-installed in my personal laptop. Earlier when I used to open a new file whether it is a SAS data file or a SAS code, they used to open in separate windows. However, now when I open any kind of SAS files, all the files get clubbed under one window and within the process flow as shown in the attached screenshot. This makes it quite difficult to see these different files separately or at the same time. Could anyone please help me resolve this issue? Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Okay, that's what I thought.

 

The command to open the files into EG looks like this, and is configured in the Windows registry:

 

"C:\Program Files\SASHome\SASEnterpriseGuide\8\seguide.exe" /openfile:"%1"

 

ChrisHemedinger_0-1715708050145.png

 

If you change the command to remove the "/openfile", each invocation will open a new EG session instead.

 

"C:\Program Files\SASHome\SASEnterpriseGuide\8\seguide.exe" "%1"

 

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

View solution in original post

9 REPLIES 9
ChrisHemedinger
Community Manager

It looks like you are using EG 7.1 in this screenshot, but EG 8.1 and later offers much better window management. Is it possible that the reinstall put a back-level version of SAS Enterprise Guide on your machine?

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
saurabhtri7
Calcite | Level 5

Thanks Chris for the response. I dont think my University has the license to upgrade to 8.1. However, this issue was not there when the same version was installed earlier. The issue has come up since the SAS EG has been reinstalled in my new laptop. It is now impossible to see the two files in parallel 😞

ChrisHemedinger
Community Manager

No special license is needed for EG 8.1 -- anyone with EG can update to this.

 

However, maybe your question is about what happens when you double-click on a .SAS file? By default EG would open a .SAS file into an existing EG session if there is already one opened. But is your problem that new EG sessions are opening each time? Or -- maybe -- that's the behavior you want instead of the default to open into existing EG sessions?

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
saurabhtri7
Calcite | Level 5

Sorry Chris if I am not able to explain the issue clearly. When I click any SAS file - whether it is a code (.SAS) or any SAS dataset (.sas7bdat), all these opens into an existing EG session if there is already one opened and get stacked into the existing process flow. I want to open every new file as a separate window so that I can easily switch (or view) these different file by simply using windows shortcut of Alt + Tab. From the Windows OS perspective, there is always only one file opened and if I simply close that file, I essentially end up closing all the files which I opened as those got opened within single session.

ChrisHemedinger
Community Manager

Okay, that's what I thought.

 

The command to open the files into EG looks like this, and is configured in the Windows registry:

 

"C:\Program Files\SASHome\SASEnterpriseGuide\8\seguide.exe" /openfile:"%1"

 

ChrisHemedinger_0-1715708050145.png

 

If you change the command to remove the "/openfile", each invocation will open a new EG session instead.

 

"C:\Program Files\SASHome\SASEnterpriseGuide\8\seguide.exe" "%1"

 

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
saurabhtri7
Calcite | Level 5

Many many thanks Chris. It worked. 

saurabhtri7
Calcite | Level 5

Hi Chris,

 

Sorry for bothering you again on this.

 

While the solution you offered worked but I think it worked partially. So, when i open a code file (.sas) file first and then open any other dataset, then I face the same issue. However, if I open the dataset file first and then open the sas code file, then SAS code file remain opened as a separate windows file but then if I open another dataset file, it gets open within the processflow of the previous dataset file only (and not open as a separate windows file). Request your help here.

Thanks,

Saurabh 

ChrisHemedinger
Community Manager

You'll need to make a similar change for the SAS.DataSet entries in the Windows Registry:

 

ChrisHemedinger_0-1716560438265.png

 

HKEY_CLASSES_ROOT\SAS.DataSet.701\shell\BrowsewithEG.8\command

 

Remove the "/openfile" part of the commands. The /openfile directive will reuse an existing EG session if one is running.

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
ballardw
Super User

To me the next question(s) would be how to have the file options (right click and select) "open in active session" and "open in new session" so both behaviors would be available if desired.

 

 

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
  • 9 replies
  • 1204 views
  • 0 likes
  • 3 in conversation