Encode the password and write it to the external file. The OUT= option specifies which external fileref the encoded password will be written to.


proc pwencode in='mypass1' out=pwfile;
run;