BookmarkSubscribeRSS Feed
Toffeeman
Calcite | Level 5

proc pwencode in='my password';
run;

 

FILENAME PwdFile "d:\book1.xls" ;
PROC PWENCODE IN='myPassword' OUT= PwdFile ;
RUN ;

 

 

Note:

I run the above codes and have encoded the file (attached).  If I receive the excel and have in non-SAS environment, may i know how to decode the excel file?

2 REPLIES 2
pearsoninst
Pyrite | Level 9
Did you mean how to decode the password ?
pulkit
Calcite | Level 5
The excel file itself is a normal excel file and can be opened anywhere. As for the password, it cannot be decoded outside the sas environment.
Aakash Gupta
+91-7411574495

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1460 views
  • 0 likes
  • 3 in conversation