<?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: filter a work table in DataFlux in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/filter-a-work-table-in-DataFlux/m-p/263236#M7244</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you have probably already figured out, work tables are used for temporary storage of data so that it can be accessed in other parts of your data job or process job. It can't be used as input for a SQL statement - at least not directly. It would be possible to read values out of a work table and store&amp;nbsp;the values in macro variables that could be used as parameters to an SQL statement in other steps in your job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your goal is to read data into your job from a csv file to then subset it in some way, you could read it in directly, skip the work table step, and use the expression node to select/filter the rows that you are interested in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 15:29:23 GMT</pubDate>
    <dc:creator>RonAgresta</dc:creator>
    <dc:date>2016-04-12T15:29:23Z</dc:date>
    <item>
      <title>filter a work table in DataFlux</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/filter-a-work-table-in-DataFlux/m-p/262930#M7237</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new with DataFlux and I am trying to play a little bit to understand better the tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a csv file, I import it and I create a "work table" as an output. Is it possible to use this work tabel as an input for an sql statement and filter it with "where clauses"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/filter-a-work-table-in-DataFlux/m-p/262930#M7237</guid>
      <dc:creator>margautz</dc:creator>
      <dc:date>2016-04-11T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: filter a work table in DataFlux</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/filter-a-work-table-in-DataFlux/m-p/263236#M7244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you have probably already figured out, work tables are used for temporary storage of data so that it can be accessed in other parts of your data job or process job. It can't be used as input for a SQL statement - at least not directly. It would be possible to read values out of a work table and store&amp;nbsp;the values in macro variables that could be used as parameters to an SQL statement in other steps in your job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your goal is to read data into your job from a csv file to then subset it in some way, you could read it in directly, skip the work table step, and use the expression node to select/filter the rows that you are interested in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 15:29:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/filter-a-work-table-in-DataFlux/m-p/263236#M7244</guid>
      <dc:creator>RonAgresta</dc:creator>
      <dc:date>2016-04-12T15:29:23Z</dc:date>
    </item>
  </channel>
</rss>

