<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to mask percents in encrypted passwords in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335477#M75931</link>
    <description>&lt;P&gt;try password="%superq(orcpwd)"&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 01:54:57 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2017-02-24T01:54:57Z</dc:date>
    <item>
      <title>how to mask percents in encrypted passwords</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335469#M75930</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have password that contains&amp;nbsp;percent sign in it and its been&amp;nbsp;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. &amp;nbsp;Is there way to hide the percent sign in the sql connect statement? I can&amp;nbsp;create a password without percent sign but just wondering if it's easy to fix it. I use PC sas version 9.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename &lt;SPAN&gt;passfile&amp;nbsp;&lt;/SPAN&gt;"c:\pwd.txt";&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt; infile passfile&amp;nbsp;truncover;&lt;BR /&gt; input str:$20.;&lt;BR /&gt; call symputx('&lt;SPAN&gt;orc&lt;/SPAN&gt;&lt;SPAN&gt;pwd&lt;/SPAN&gt;',str);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; connect to oracle(dsn=orcsql&amp;nbsp;user=&amp;amp;userid password="&amp;amp;orcpwd");&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335469#M75930</guid>
      <dc:creator>vicky07</dc:creator>
      <dc:date>2017-02-24T00:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask percents in encrypted passwords</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335477#M75931</link>
      <description>&lt;P&gt;try password="%superq(orcpwd)"&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 01:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335477#M75931</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-02-24T01:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask percents in encrypted passwords</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335793#M76040</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your time!&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 00:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335793#M76040</guid>
      <dc:creator>vicky07</dc:creator>
      <dc:date>2017-02-25T00:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask percents in encrypted passwords</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335810#M76053</link>
      <description>Not too sure what else to tell you until you provide an example that we can reproduce.</description>
      <pubDate>Sat, 25 Feb 2017 05:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mask-percents-in-encrypted-passwords/m-p/335810#M76053</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-02-25T05:44:33Z</dc:date>
    </item>
  </channel>
</rss>

