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;
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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.