<?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 accessing tab separated file in network folder with filter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325378#M271414</link>
    <description>&lt;P&gt;Let us say I have a massive tab separated file stored in a network drive visible to SAS. The file contains these columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I access this file via, for axample PROC SQL, to only&amp;nbsp;populate a SAS dataset based on a subset of this data (e.g. where Id = 1234)?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 18:04:00 GMT</pubDate>
    <dc:creator>csetzkorn</dc:creator>
    <dc:date>2017-01-17T18:04:00Z</dc:date>
    <item>
      <title>accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325378#M271414</link>
      <description>&lt;P&gt;Let us say I have a massive tab separated file stored in a network drive visible to SAS. The file contains these columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I access this file via, for axample PROC SQL, to only&amp;nbsp;populate a SAS dataset based on a subset of this data (e.g. where Id = 1234)?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325378#M271414</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2017-01-17T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325391#M271415</link>
      <description>&lt;P&gt;SAS sql will handle SAS dataset, not a TAB separated file.&lt;/P&gt;
&lt;P&gt;You need first to import it into sas &amp;nbsp;using FILENAME ... DLM='09'x;&lt;/P&gt;
&lt;P&gt;Use either proc import or a datastep to read the file;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325391#M271415</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-17T18:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325394#M271416</link>
      <description>OK thanks. Can I apply filter here?</description>
      <pubDate>Tue, 17 Jan 2017 18:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325394#M271416</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2017-01-17T18:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325404#M271417</link>
      <description>&lt;P&gt;I would suggest reading the entire set into SAS. Then you can subset with a WHERE clause in Proc SQL to your hearts content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know the number of times I have had someone tell me we need the "XYZ" values only. And then finish the project and get told "need ABC and XYZ_2" also. If you subset the data too early then you may be rereading the data from scratch many times.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325404#M271417</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-17T18:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325412#M271418</link>
      <description>&lt;P&gt;A subsetting if can be used in a data step that reads from a flat file. But I would only contemplate this if the dataset grows to considerable size. Otherwise you're better off by subsetting later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325412#M271418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-17T18:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: accessing tab separated file in network folder with filter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325417#M271419</link>
      <description>&lt;P&gt;If you use a datastep you can filter data while reading the external file, but if possible&lt;/P&gt;
&lt;P&gt;better read the whole file then filter as need using sas tools.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:59:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/accessing-tab-separated-file-in-network-folder-with-filter/m-p/325417#M271419</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-17T18:59:04Z</dc:date>
    </item>
  </channel>
</rss>

