Help using Base SAS procedures

open multiple SAS session

Reply
Contributor
Posts: 49

open multiple SAS session

Dear All

I am trying to open multiple SAS session at the same time; however I got following message each time when an additional SAS session is open:

WARNING: Unable to copy SASUSER registry to WORK registry. Because of this,

WARNING: you will not see registry customizations during this session.

NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.

NOTE: All profile changes will be lost at the end of the session.

NOTE: This SAS session is using a registry in WORK.  All changes will be lost at the end of this

NOTE: session.

NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.

NOTE: All profile changes will be lost at the end of the session

In addition, the 'Getting Stated with SAS' dialog box also opens with each additional instance of SAS.

I am trying to avoid the above warning message. I googled and found the following suggestion:

Multiple SAS PC SAS Sessions on a Single Laptop? - comp.soft-sys.sas,

which suggests add -rsasuser in SAS shortcut. I tried this method, but it does not seem to work.

Can anyone suggest how to avoid those warning message?

Super User
Posts: 5,255

Re: open multiple SAS session

Should work, given that all SAS sessions on the same PC have been started using this option.

Data never sleeps
Contributor
Posts: 49

Re: open multiple SAS session

Thanks.

Just to make sure I did it right, here is the SAS shortcut BEFORE I changed it:

"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg" -autoexec "C:\users\lli\autoexec.sas"

And here is the SAS shortcut AFTER I changed it:

"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg" -rsasuser -autoexec "C:\users\lli\autoexec.sas"

Did I do it right?

Super User
Super User
Posts: 6,498

Re: open multiple SAS session

Make sure to close all sessions that were started before the change.  The one session with readwrite access should be what it is preventing it from copying your profile to work.

You can check the current setting by using proc options of GETOPTION() function.

Contributor
Posts: 49

Re: open multiple SAS session

Thank you all for help.

I rebooted the computer and now it works!

Thanks again!

Ask a Question
Discussion stats
  • 4 replies
  • 1237 views
  • 8 likes
  • 3 in conversation