<?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: directory listing in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375298#M11383</link>
    <description>&lt;P&gt;I always put a dlm= in the infile which can never happen in the returned information - you could probably look for CR/LF or other things:&lt;/P&gt;
&lt;PRE&gt;filename dirlist pipe 'dir "pathTOdirectory" ';

data nazwy;
  length fname $256;
  infile dirlist truncover length=reclen dlm="¬";
  input fname $varying256. reclen;
run;&lt;/PRE&gt;
&lt;P&gt;Thus, as the delimter is never hit, then it only goes to a new line on cr/lf.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 13:16:51 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-07-12T13:16:51Z</dc:date>
    <item>
      <title>directory listing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375292#M11381</link>
      <description>&lt;P&gt;System is on unix i need a directory listing and tried:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;filename dirlist pipe 'dir "pathTOdirectory" ';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data nazwy;&lt;BR /&gt;length fname $256;&lt;BR /&gt;infile dirlist truncover length= reclen;&lt;BR /&gt;input fname $varying256. reclen;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i keep getting all filenames in one row and not in seperate, what i'm i doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375292#M11381</guid>
      <dc:creator>Thylacine</dc:creator>
      <dc:date>2017-07-12T13:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: directory listing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375298#M11383</link>
      <description>&lt;P&gt;I always put a dlm= in the infile which can never happen in the returned information - you could probably look for CR/LF or other things:&lt;/P&gt;
&lt;PRE&gt;filename dirlist pipe 'dir "pathTOdirectory" ';

data nazwy;
  length fname $256;
  infile dirlist truncover length=reclen dlm="¬";
  input fname $varying256. reclen;
run;&lt;/PRE&gt;
&lt;P&gt;Thus, as the delimter is never hit, then it only goes to a new line on cr/lf.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375298#M11383</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-12T13:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: directory listing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375303#M11384</link>
      <description>&lt;P&gt;On UNIX systems, use the native ls instead of the DOS dir mockup:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename dirlist pipe 'ls path ';

data nazwy;
length fname $256;
infile dirlist truncover length= reclen;
input fname $varying256. reclen;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/directory-listing/m-p/375303#M11384</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-12T13:29:21Z</dc:date>
    </item>
  </channel>
</rss>

