As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:November 18

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

SAS datasets can be protected from read/write by unauthorized users by simply specifying a password on the dataset. To declare such a password, you use the pw = option in the SAS data step. Below is an example.

DATA <EXAMPLE DATA> (ENCRYPT = YES PW = <PASSWORD>);
SET <EXAMPLE DATA>;
RUN;

According to the SAS documentation, if you lose your password, a lot of time and effort is needed to decrypt the file.

Submitted by Murphy Choy. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip