Within SAS Run the following code (the purple text is the password you would like to encode):
proc pwencode in='myn3wpwd4u'; run;
After submitting this code (F3), the resulting encoded password in available only in the log file.
The results from this example are below, the highlighted line is the encrypted password which can be used in all backend interactions with SAS.
1 proc pwencode in='myn3wpwd4u'; run;
{sas001}bXluM3dwd2Q0dQ==
NOTE: PROCEDURE PWENCODE used (Total process time):
real time 0.10 seconds
cpu time 0.00 seconds
4 Comments
However in Version 9.1 your password can't be a multiple of three (3). If it is it doesn't work :)Found that out the Hard way. See Response from SAS :---About the encrypted password, you has run into a bug. This particular bug is only encountered when a password has a length that is a multiple of three. Any password length that is a muliple of three will fail. To circumvent the problem, add or remove a character in the password.For information, a SAS Note will be created and SAS 9.2 does not have this problem.---
and if you need it, proc pwdecode.
I need it. How do I get it?
I think Richard just means to use:
proc pwdecode in='{sas001}bXluM3dwd2Q0dQ==';
run;