<?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: Encrypt in data step in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499890#M32125</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Enterprise guide does not yet support aes-encrypted data sets. It is on our list to add in a future release. A workaround is to create a view based on the encrypted data set, which will allow you to open it in Eguide.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data encrypt_salary(encrypt=aes encryptkey=green); &lt;BR /&gt; input name $ yrsal bonuspct; &lt;BR /&gt; datalines; &lt;BR /&gt;Muriel 34567 3.2 &lt;BR /&gt;Bjorn 74644 2.5 &lt;BR /&gt;Freda 38755 4.1 &lt;BR /&gt;Benny 29855 3.5 &lt;BR /&gt;Agnetha 70998 4.1 &lt;BR /&gt;;&lt;BR /&gt; &lt;BR /&gt;data encrypt_salaryV / view=encrypt_salaryV; &lt;BR /&gt; set encrypt_salary(encryptkey=green); &lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 13:30:15 GMT</pubDate>
    <dc:creator>jebjur</dc:creator>
    <dc:date>2018-09-28T13:30:15Z</dc:date>
    <item>
      <title>Encrypt in data step</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499883#M32123</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have SAS 9.4 and Enterprise guide 7.15 HF3. When I try to make encrypted data, I get error message pop-up window with text:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"The open data operation failed. The following error occured.&lt;/P&gt;
&lt;P&gt;[Error] Invalid ENCRYPTKEY value for WORK.SALARY.DATA."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no errors in log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use example from sas support data step pages, option ENCRYPTKEY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data salary(encrypt=aes encryptkey=green);
   input name $ yrsal bonuspct;
   datalines;
Muriel    34567  3.2
Bjorn     74644  2.5
Freda     38755  4.1
Benny     29855  3.5
Agnetha   70998  4.1
; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I do run same code in basic SAS, there isn't any errors.&lt;/P&gt;
&lt;P&gt;Is this bug in Enterprise Guide or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regars,&lt;/P&gt;
&lt;P&gt;Harri S&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499883#M32123</guid>
      <dc:creator>Harris</dc:creator>
      <dc:date>2018-09-28T13:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt in data step</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499890#M32125</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Enterprise guide does not yet support aes-encrypted data sets. It is on our list to add in a future release. A workaround is to create a view based on the encrypted data set, which will allow you to open it in Eguide.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data encrypt_salary(encrypt=aes encryptkey=green); &lt;BR /&gt; input name $ yrsal bonuspct; &lt;BR /&gt; datalines; &lt;BR /&gt;Muriel 34567 3.2 &lt;BR /&gt;Bjorn 74644 2.5 &lt;BR /&gt;Freda 38755 4.1 &lt;BR /&gt;Benny 29855 3.5 &lt;BR /&gt;Agnetha 70998 4.1 &lt;BR /&gt;;&lt;BR /&gt; &lt;BR /&gt;data encrypt_salaryV / view=encrypt_salaryV; &lt;BR /&gt; set encrypt_salary(encryptkey=green); &lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499890#M32125</guid>
      <dc:creator>jebjur</dc:creator>
      <dc:date>2018-09-28T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt in data step</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499892#M32126</link>
      <description>&lt;P&gt;The error happens because EG tries to open the dataset for display, but does not have the key value. You need to run proc print to see the data:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=work.salary (encrypt=aes encryptkey=green);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It might be a good idea if EG gleaned the encryptkey from the log (as it retrieves the dataset name anyway) and used it to open the dataset.&lt;/P&gt;
&lt;P&gt;(note that EG does not have a direct viewtable window like Base SAS, which asks for the key, but actually sends a SQL request - or similar - via the IOM bridge).&lt;/P&gt;
&lt;P&gt;Possible material for a SASWare Ballot request: "Add the ability to open encrypted datasets by asking for the key"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499892#M32126</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-28T13:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt in data step</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499893#M32127</link>
      <description>&lt;P&gt;try setting encrypt = yes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN&gt; salary&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;encrypt&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;aes encryptkey&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;green&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499893#M32127</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-09-28T13:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt in data step</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499894#M32128</link>
      <description>&lt;P&gt;OK, no Ballot idea needed &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Encrypt-in-data-step/m-p/499894#M32128</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-28T13:33:41Z</dc:date>
    </item>
  </channel>
</rss>

