BookmarkSubscribeRSS Feed
acordes
Rhodochrosite | Level 12

I cannot figure out how to assign a password to an existing sashdat file stored at a caslib. 

 

I want to prevent from being deleted by other others users with access to the caslib.

I've tried without success the following.  

It would be ok for me to assign a password during the savetable operation using proc cas or proc casutil. 

 

Following https://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000995299.htm 

 

proc datasets lib=mkt;
modify CONTRATOS_BI_OK.sashdat(read=mypass);
run;

 

1 REPLY 1
LinusH
Tourmaline | Level 20

Password protection of individual object is IMHO not a good thing from a maintenance perspective. Data shoud be protected using rights management: preferable on group/function level.

 

SAS Help Center: Authorization in SAS Viya

 

Data never sleeps

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

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
  • 1 reply
  • 257 views
  • 0 likes
  • 2 in conversation