BookmarkSubscribeRSS Feed
GreggB
Pyrite | Level 9

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.

6 REPLIES 6
Patrick
Opal | Level 21

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.

GreggB
Pyrite | Level 9

No.  I'm opening 2 different programs.

Doc_Duke
Rhodochrosite | Level 12

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.

GreggB
Pyrite | Level 9

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.

Doc_Duke
Rhodochrosite | Level 12

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.

Cynthia_sas
SAS Super FREQ

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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

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.

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
  • 2570 views
  • 1 like
  • 4 in conversation