<?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: ERROR Physical file does not not in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792155#M32652</link>
    <description>&lt;P&gt;There are multiple ways to read Excel files into SAS e.g.&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acpcref/n1t1gvr8q2u9xjn1bm1rpej2wkw9.htm" target="_self"&gt;Comparing SAS LIBNAME Engines for PC Files Data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 12:06:41 GMT</pubDate>
    <dc:creator>AMSAS</dc:creator>
    <dc:date>2022-01-25T12:06:41Z</dc:date>
    <item>
      <title>ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792088#M32647</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am experiencing an issue with the following statement to open an Excel file with SAS 9.4&lt;/P&gt;
&lt;P&gt;I do not understand why SAS says that the physical file does not exist although it is well there&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CODE&lt;/P&gt;
&lt;P&gt;options noxwait noxsync;&lt;BR /&gt;x '"C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE"';&lt;BR /&gt;data _null_;&lt;BR /&gt;x=sleep(5);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;/* Open Excel workbook automatically */&lt;BR /&gt;filename ddecmd dde 'excel|system';&lt;BR /&gt;DATA _null_;&lt;BR /&gt;file ddecmd;&lt;/P&gt;
&lt;P&gt;/* Adapt Path and name of the input excel file */&lt;BR /&gt;put '[OPEN("S:\TRIALS\AES\AES1\DBASE\DBASE_EXT\ADA\FU_PERIOD\TROIKA_ADA_FU_22Jan2022_bis.xlsx")]';&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;/* Adapt Path and name of the input excel file */&lt;BR /&gt;filename file dde 'excel|S:\TRIALS\AES\AES1\DBASE\DBASE_EXT\ADA\FU_PERIOD\[TROIKA_ADA_FU_22Jan2022_bis.xlsx]DTAformat!R2C1:R1000C13' lrecl=500;&lt;/P&gt;
&lt;P&gt;/*Create SAS dataset for external data*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA ada; &lt;BR /&gt;INFILE file dlm='09'x notab dsd missover ls=1500;&lt;BR /&gt;informat PROTOCOL $6. AGILEX $3. SUBJID $11. BARCODE $11. VISITT $20. BIOMATRIX $9. ANLYTE $16. SCROUT $8. CONFOUT $8. TITROUT 3. RESCO $10. ; &lt;BR /&gt;input PROTOCOL $ AGILEX $ SUBJID $ BARCODE $ VISITT $ BIOMATRIX $ ANLYTE $ SCROUT $ CONFOUT $ TITROUT RESCO $ ; &lt;BR /&gt;/* IF visitt = 'FU 1 Year' then visitt='1 Year FU';*/&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR MESSAGE&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist,&lt;BR /&gt;excel|S:\TRIALS\AES\AES1\DBASE\DBASE_EXT\ADA\FU_PERIOD\[TROIKA_ADA_FU_22Jan2022_bis.xlsx]DTAformat!R2C1&lt;BR /&gt;:R1000C13.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 07:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792088#M32647</guid>
      <dc:creator>juju_p</dc:creator>
      <dc:date>2022-01-25T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792120#M32648</link>
      <description>&lt;P&gt;Can't tell why this does not work for you, but DDE is discontinued technology.&lt;/P&gt;
&lt;P&gt;If your task is to import Excel data to SAS, I suggest that you use any of the many other methods to do so.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 08:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792120#M32648</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-01-25T08:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792123#M32649</link>
      <description>&lt;P&gt;Since DDE is deprecated and may not work any longer, I'd use VBA to load the spreadsheet and save it to a tab-separated file, which can then be read as a physical file in the data step.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 08:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792123#M32649</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-25T08:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792131#M32650</link>
      <description>&lt;P&gt;It happened to work for me when I copied the whole content of the file into another file so it probably has to do with the properties of the original file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering how could we do it as well with VBA?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792131#M32650</guid>
      <dc:creator>juju_p</dc:creator>
      <dc:date>2022-01-25T09:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792139#M32651</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397112"&gt;@juju_p&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering how could we do it as well with VBA?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That needs to be answered by some Windows-savvy people. I neither use Excel files, nor run SAS on Windows &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792139#M32651</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-25T09:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Physical file does not not</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792155#M32652</link>
      <description>&lt;P&gt;There are multiple ways to read Excel files into SAS e.g.&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acpcref/n1t1gvr8q2u9xjn1bm1rpej2wkw9.htm" target="_self"&gt;Comparing SAS LIBNAME Engines for PC Files Data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 12:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-not/m-p/792155#M32652</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2022-01-25T12:06:41Z</dc:date>
    </item>
  </channel>
</rss>

