<?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 Export dataset from Sas E.Miner after a variable selection in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/552939#M7774</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to export the modified dataset after the variable selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I used the varaible selection node, 71 variables were rejected from a total of 256 ones, so in order to do some statistical work on the remaining, I have used a SAS node trying to export the selected varaibles ONLY (185 varaibles),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sas code was the following :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;

create table work.test as select a.*

from

&amp;amp;EM_IMPORT_DATA a;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to do it, or for any result of other miner node (a transformation node for exemple)&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2019 16:49:42 GMT</pubDate>
    <dc:creator>Mahmoud7</dc:creator>
    <dc:date>2019-04-22T16:49:42Z</dc:date>
    <item>
      <title>Export dataset from Sas E.Miner after a variable selection</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/552939#M7774</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to export the modified dataset after the variable selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I used the varaible selection node, 71 variables were rejected from a total of 256 ones, so in order to do some statistical work on the remaining, I have used a SAS node trying to export the selected varaibles ONLY (185 varaibles),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sas code was the following :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;

create table work.test as select a.*

from

&amp;amp;EM_IMPORT_DATA a;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to do it, or for any result of other miner node (a transformation node for exemple)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 16:49:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/552939#M7774</guid>
      <dc:creator>Mahmoud7</dc:creator>
      <dc:date>2019-04-22T16:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export dataset from Sas E.Miner after a variable selection</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/553555#M7776</link>
      <description>&lt;P&gt;no one knows the answer ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 08:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/553555#M7776</guid>
      <dc:creator>Mahmoud7</dc:creator>
      <dc:date>2019-04-24T08:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export dataset from Sas E.Miner after a variable selection</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/553634#M7777</link>
      <description>&lt;P&gt;I prefer DATA step to SQL, but there is probably a way to do it with SQL too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.test;
&amp;nbsp;set &amp;amp;em_import_data;
&amp;nbsp;drop %em_rejected;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note for this to work, you need to set the Hide Rejected Variables property in the Variable Selection node to &lt;STRONG&gt;No,&amp;nbsp;&lt;/STRONG&gt;then in the Variables editor for the SAS Code node, set Use=Yes for all variables.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 13:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Export-dataset-from-Sas-E-Miner-after-a-variable-selection/m-p/553634#M7777</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2019-04-24T13:24:13Z</dc:date>
    </item>
  </channel>
</rss>

