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

ERROR: Write access to member SASUSER.FORMATS.CATALOG is denied.

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ
Hi: A permanent library does not "disappear". Think of SAS as "unplugging" itself from the data when you take your session down. So the first thing you should do when you log back in or start a new SAS session is "plug into" your permanent data by issuing LIBNAME statements for your data location. I have a program that I keep called LIBNAME.SAS that always has my permanent libraries defined with LIBNAME statements and the program also has the OPTIONS I most always use. The first thing I do when I log on is to submit that program.
Cynthia

View solution in original post

5 REPLIES 5
Cynthia_sas
SAS Super FREQ
HI:
You do not have write access to the SASUSER library in SAS University Edition. The best thing to do is to allow PROC FORMAT to write your formats to the WORK location or to define a permanent location where you have WRITE access in a LIBNAME statement and use the LIBRARY= option with PROC FORMAT to point to that other location.
Cynthia
therajatmadaan
Calcite | Level 5
Hi Cynthia ,

Yes I created a custom library to store proc formats. But when I am restarting the sas session. My library is not appearing under libraries. If it's going to disappear everytime just like work Library. Then what is the purpose of creating a permanent library
Shmuel
Garnet | Level 18

What sas platform are you using?

If you run sas on a server you need get the permission from the administrator.

If you use SAS University Edition and some others you can't get the permission because many others use the same sasuser library.

 

To save your own formats define any other private library to save there the format catalog. 

therajatmadaan
Calcite | Level 5
Hi,

Yes I created a custom library to store proc formats. But when I am restarting the sas session. My library is not appearing under libraries. If it's going to disappear everytime just like work Library. Then what is the purpose of creating a permanent library
Cynthia_sas
SAS Super FREQ
Hi: A permanent library does not "disappear". Think of SAS as "unplugging" itself from the data when you take your session down. So the first thing you should do when you log back in or start a new SAS session is "plug into" your permanent data by issuing LIBNAME statements for your data location. I have a program that I keep called LIBNAME.SAS that always has my permanent libraries defined with LIBNAME statements and the program also has the OPTIONS I most always use. The first thing I do when I log on is to submit that program.
Cynthia

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2092 views
  • 1 like
  • 3 in conversation