<?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: Importing filenames w/o use of a pipe in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93628#M26548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;Esp SAS Bigot-Answer helped immensely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 16:57:24 GMT</pubDate>
    <dc:creator>LB</dc:creator>
    <dc:date>2012-04-25T16:57:24Z</dc:date>
    <item>
      <title>Importing filenames w/o use of a pipe</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93624#M26544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all-&lt;/P&gt;&lt;P&gt;I am well acquainted the use of pipes-&lt;/P&gt;&lt;P&gt;However is there an alt method of importing filenames?&lt;/P&gt;&lt;P&gt;I ask due to the fact that at some point I will have to port a program to EG.&lt;/P&gt;&lt;P&gt;Yes I know that I can change the registry however I don't have such permissions and even if I do-I may not have the permissions on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 19:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93624#M26544</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-24T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing filenames w/o use of a pipe</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93625#M26545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See function category External Files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 19:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93625#M26545</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-04-24T19:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Importing filenames w/o use of a pipe</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93626#M26546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allowing shell escape (xcmd) is a simple tick in a box using SMC. The tick-box is "hidden" in the Workspace Server Properties under "Options/Advanced Options".&lt;/P&gt;&lt;P&gt;So it's a SAS Metadata change and not some client sided change of registry information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else: What data _null_; suggests. I recall several discussions and solutions around this question here in these forums. Searching with keywords "directory list" will bring up some of them.&lt;/P&gt;&lt;P&gt;May be this sample code will help: &lt;A href="http://support.sas.com/kb/25/074.html" title="http://support.sas.com/kb/25/074.html"&gt;http://support.sas.com/kb/25/074.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 23:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93626#M26546</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-04-24T23:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importing filenames w/o use of a pipe</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93627#M26547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To build on data_null_'s reply, here's something to get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;rc = filename( 'mydir', 'c:\temp' );&lt;/P&gt;&lt;P&gt;did = dopen( 'mydir' );&lt;/P&gt;&lt;P&gt;count = dnum( did );&lt;/P&gt;&lt;P&gt;do i = 1 to count;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; filenm = dread( did, i );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; putlog filenm;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the dread function returns not only file names but directories too. You'll have to account for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 11:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93627#M26547</guid>
      <dc:creator>FloydNevseta</dc:creator>
      <dc:date>2012-04-25T11:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing filenames w/o use of a pipe</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93628#M26548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;Esp SAS Bigot-Answer helped immensely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 16:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-filenames-w-o-use-of-a-pipe/m-p/93628#M26548</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-25T16:57:24Z</dc:date>
    </item>
  </channel>
</rss>

