When I open a 2nd SAS session, it's read-only. I've never noticed this before. Did I inadvertently change some setting? I want full access to both sessions.
Is this about opening the same EG project twice? If yes: This would be the wanted behaviour. You need to open a new or different project.
No. I'm opening 2 different programs.
What is the "it" that is read-only? The SAS program? SAS datasets?
What else is running? I've seen that happen when the .sas code is open in a non-sas editor. If you are on a shared drive, it could even be another user.
The program is read-only. I'm the only SAS user here at the office so no one else has the ability to open it.
I just tried that with SAS 9.3. No problem. I could edit and save the second .sas program. I suspect you have that file locked by some other process.
And, usually, it is only the SASUSER library that becomes read-only on the second and subsequent instances. So if you are trying to write to SASUSER in the second instance, you might have an issue. You only can have 1 write-access copy of SASUSER open at a time. All subsequent instances of SAS open a read-only copy of SASUSER. This mostly impacts SASUSER.PROFILE and SASUSER.REGSTRY. The files are usually copied to WORK for the session, and if something can't be copied, you see messages about that, too. Typical messages you get in the log are:
NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened
instead.
NOTE: All registry changes will be lost at the end of the session.
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
NOTE: be lost at the end of this session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened
instead.
Here are some Tech Support notes about the issue which might be relevant to your configuration:
http://support.sas.com/kb/13/838.html
http://support.sas.com/kb/12/502.html
http://support.sas.com/kb/13/803.html
http://support.sas.com/kb/8/538.html
cynthia
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.