<?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 Import asc file question: Why does it work with a file reference, but not with (the same!) path? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649824#M19245</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble to understand why this does work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME asc0808 FILESRVC&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FOLDERPATH='/07. Team/02.Development/Case1'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FILENAME='2019.08.08_mutations.asc';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile asc0808 delimiter = '|' dsd lrecl=1000 firstobs=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; informat onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; format onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input onbewerkt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this does not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile '/07. Team/02.Development/Case1/2019.08.08_mutations.asc' delimiter = '|' dsd lrecl=1000 firstobs=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; informat onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; format onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input onbewerkt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is: Physical file does not exist,&amp;nbsp;'/07. Team/02.Development/Case1/2019.08.08_mutations.asc'&lt;/P&gt;&lt;P&gt;This is the exact location I see when I look at the properties of the file reference of asc0808&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody explain? To me I'm doing exactly the same, but apparently not...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 10:07:23 GMT</pubDate>
    <dc:creator>AnnaBaukje</dc:creator>
    <dc:date>2020-05-22T10:07:23Z</dc:date>
    <item>
      <title>Import asc file question: Why does it work with a file reference, but not with (the same!) path?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649824#M19245</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble to understand why this does work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME asc0808 FILESRVC&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FOLDERPATH='/07. Team/02.Development/Case1'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FILENAME='2019.08.08_mutations.asc';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile asc0808 delimiter = '|' dsd lrecl=1000 firstobs=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; informat onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; format onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input onbewerkt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this does not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; infile '/07. Team/02.Development/Case1/2019.08.08_mutations.asc' delimiter = '|' dsd lrecl=1000 firstobs=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; informat onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; format onbewerkt $1000.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; input onbewerkt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is: Physical file does not exist,&amp;nbsp;'/07. Team/02.Development/Case1/2019.08.08_mutations.asc'&lt;/P&gt;&lt;P&gt;This is the exact location I see when I look at the properties of the file reference of asc0808&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody explain? To me I'm doing exactly the same, but apparently not...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649824#M19245</guid>
      <dc:creator>AnnaBaukje</dc:creator>
      <dc:date>2020-05-22T10:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import asc file question: Why does it work with a file reference, but not with (the same!) path?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649887#M19246</link>
      <description>&lt;P&gt;Pay attention, that in first code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;FILENAME asc0808 &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;FILESRVC&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;there is a definition of the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;engine&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; need to open the file.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Without assigning an engine SAS tries to open a text file.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649887#M19246</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-05-22T12:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Import asc file question: Why does it work with a file reference, but not with (the same!) path?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649889#M19247</link>
      <description>&lt;P&gt;The FILESRVC device type is needed to access files in the&amp;nbsp;&lt;SPAN&gt;SAS Viya Files service. From my research in the SAS documentation, this device type seems to be available in FILENAME statements, but not in INFILE statements.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The location you specify in the FILENAME FILESRVC statement is not a physical one in a filesystem, but rather a virtual one in the Files service database. Therefore it will not work in a "normal" INFILE statement.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:37:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Import-asc-file-question-Why-does-it-work-with-a-file-reference/m-p/649889#M19247</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-22T12:37:11Z</dc:date>
    </item>
  </channel>
</rss>

