<?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: proc import in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821548#M324348</link>
    <description>No , it works for other files..so it might not be the problem</description>
    <pubDate>Tue, 05 Jul 2022 07:06:19 GMT</pubDate>
    <dc:creator>sfffdg</dc:creator>
    <dc:date>2022-07-05T07:06:19Z</dc:date>
    <item>
      <title>proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821533#M324335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why the below import does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC IMPORT DATAFILE = 'N:\Comp1\SubComp1\ISS5315\ISS-5315 dds impacted with info from Product catalogue GG Update.xlsx'&lt;BR /&gt;OUT = list1&lt;BR /&gt;DBMS = XLSX &lt;BR /&gt;REPLACE;&lt;BR /&gt;SHEET = "Sheet1";&lt;BR /&gt;GETNAMES = YES;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the below error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist, N:\Comp1\SubComp1\ISS5315\ISS-5315 dds impacted with info from Product catalogue GG Update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 04:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821533#M324335</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2022-07-05T04:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821537#M324338</link>
      <description>&lt;P&gt;Most probable cause: the N drive is not available on the server where SAS runs. Try to use a UNC path instead, or have your SAS server admins mount the network share.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 05:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821537#M324338</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-05T05:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821548#M324348</link>
      <description>No , it works for other files..so it might not be the problem</description>
      <pubDate>Tue, 05 Jul 2022 07:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821548#M324348</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2022-07-05T07:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821550#M324350</link>
      <description>&lt;P&gt;Then first verify that the path to the directory is correct, and create a directory listing:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data files;
length dref $8 name $200;
rc = filename(dref,"N:\Comp1\SubComp1\ISS5315");
did = dopen(dref);
if did
then do;
  do i = 1 to dnum(did);
    name = dread(did,i);
    output;
  end;
  rc = dclose(did);
end;
else putlog "Directory not found!";
drop rc did dref;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If this does not work as expected, post the complete log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821550#M324350</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-05T07:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821554#M324354</link>
      <description>&lt;P&gt;It worked&amp;nbsp; and the file name is in the dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 08:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821554#M324354</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2022-07-05T08:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821562#M324358</link>
      <description>&lt;P&gt;Then make sure that you use the same name in the PROC IMPORT as returned by the directory listing; if in doubt, look at a hex-formatted display of the filename to find any "funny" characters (like a leading blank).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 09:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/821562#M324358</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-05T09:48:38Z</dc:date>
    </item>
  </channel>
</rss>

