<?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 Random password in PDF using SAS code in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269220#M15844</link>
    <description>&lt;P&gt;I am challenging trying to create random passwords in PDFPASSWORD. It does not allow me use any of the random functions available in SAS to generate a random letters. Take for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The general syntax is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;PDFPASSWORD = (OPEN=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER="PASSWORD");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;When you try any mathematical functions or random function, it doesn't work, instead it returns vebatim the function instead of returning the resolved variable. For instance...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;PDFPASSWORD = (OPEN=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER=RAND(2)); your password will be &lt;FONT face="Courier New"&gt;RAND(2)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;It does not resolve the function .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;Another Instance...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;PDFPASSWORD = (OPEN=&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER=MOD(2**5-1)); your password will be MOD(2**5-1)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Can any body please help. I want to send out pdf passworded document to over 200 employees with different random generated passwords.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Efe&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 16:50:14 GMT</pubDate>
    <dc:creator>efo4life</dc:creator>
    <dc:date>2016-05-09T16:50:14Z</dc:date>
    <item>
      <title>Random password in PDF using SAS code</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269220#M15844</link>
      <description>&lt;P&gt;I am challenging trying to create random passwords in PDFPASSWORD. It does not allow me use any of the random functions available in SAS to generate a random letters. Take for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The general syntax is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;PDFPASSWORD = (OPEN=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER="PASSWORD");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;When you try any mathematical functions or random function, it doesn't work, instead it returns vebatim the function instead of returning the resolved variable. For instance...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;PDFPASSWORD = (OPEN=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER=RAND(2)); your password will be &lt;FONT face="Courier New"&gt;RAND(2)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;It does not resolve the function .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;Another Instance...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;PDFPASSWORD = (OPEN=&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PASSWORD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OWNER=MOD(2**5-1)); your password will be MOD(2**5-1)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Can any body please help. I want to send out pdf passworded document to over 200 employees with different random generated passwords.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Courier New" size="3"&gt;Efe&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 16:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269220#M15844</guid>
      <dc:creator>efo4life</dc:creator>
      <dc:date>2016-05-09T16:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Random password in PDF using SAS code</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269222#M15845</link>
      <description>&lt;P&gt;Generate the random password in a datastep and assign the value to a macro varible that is referenced in the PDFPassword options or to generate Call Execute statements to complete the whole document.&lt;/P&gt;
&lt;P&gt;I would be tempted to use this so that I would have a dataset with the password that is available later when the file can't be opened because the password was forgotten/lost or unknown in the first place by the user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's something to think about: If the random function were allowed in the code how would you know what the value was to open the file later?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 16:56:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269222#M15845</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-09T16:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Random password in PDF using SAS code</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269539#M15854</link>
      <description>&lt;P&gt;Thanks Ballardw&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 18:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Random-password-in-PDF-using-SAS-code/m-p/269539#M15854</guid>
      <dc:creator>efo4life</dc:creator>
      <dc:date>2016-05-10T18:24:47Z</dc:date>
    </item>
  </channel>
</rss>

