02-23-2017 07:43 PM
I have password that contains percent sign in it and its been encrypted. I am trying to use the encrypted password in a sql pass through connection and my connection was getting rejected. If I hard code the password it works fine. I wonder if the '%' sign in my password is throwing it off. Is there way to hide the percent sign in the sql connect statement? I can create a password without percent sign but just wondering if it's easy to fix it. I use PC sas version 9.3.
filename passfile "c:\pwd.txt";
infile passfile truncover;
connect to oracle(dsn=orcsql user=&userid password="&orcpwd");
02-24-2017 07:15 PM
Chris - Thanks for your response. I tried the %superq but i didnt work. I wonder if the password need to be masked before I encrypt it. I assume the %superq function is actually trying to mask the encrypted string and not the actual password. I may be wrong.
Appreciate your time!