Hi, I'm using below code to encrypt my passwords. It was working fine until several jobs started to use the same .txt file and It gave me error saying that the .txt file is in use. Can someone suggest if there is a way in proc pwencode where I can create a macro variable with encrypted value without writing it to the .txt files? %let uid = ididid; %let pid = ididid; filename pwfile '/uhyy/xx/pwd.txt'; filename ppw '/uhyy/xx/ppw.txt'; proc pwencode in='My_pwd' out=pwfile; run; proc pwencode in='My_pwd' out=ppw; run; options symbolgen; %macro readpwd(filename,var); data _null_; infile &filename obs=1 length=l; input @; input @1 line $varying1024. l; call symput("&var",substr(line,1,l)); run; %mend; %readpwd(pwfile,pwd); %readpwd(ppw,ppwd);
... View more