<?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>Thema "Betreff: ERROR: Datei wird verwendet" in CoDe SAS German</title>
    <link>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925227#M2756</link>
    <description>&lt;P&gt;Herzlichen Dank für die schnelle Unterstützung. Wir hatten offenbar keine Tomaten sondern Melonen auf den Augen.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 12:44:10 GMT</pubDate>
    <dc:creator>HPietschmann</dc:creator>
    <dc:date>2024-04-22T12:44:10Z</dc:date>
    <item>
      <title>ERROR: Datei wird verwendet</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925211#M2753</link>
      <description>&lt;P&gt;Hallo,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wir haben folgendes Problem.&amp;nbsp;In einem SAS-Programm haben wir folgenden Code implementiert:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA LIB.XY;&lt;/P&gt;&lt;P&gt;INFILE "ab.sas7bdat";&lt;/P&gt;&lt;P&gt;RUN;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daraufhin erscheint an dieser Stelle die Fehlermeldung:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Datei wird verwendet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wir haben inzwischen alles durchsucht. Die betreffende Datei wird nirgends parallel verwendet. Auch eine Kopie dieser Datei erzeugt die gleiche Fehlermeldung. Hat jemand eine Idee, was noch die Ursache sein könnte?&lt;/P&gt;&lt;P&gt;Vielen Dank im Voraus&lt;/P&gt;&lt;P&gt;Holger&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 10:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925211#M2753</guid>
      <dc:creator>HPietschmann</dc:creator>
      <dc:date>2024-04-22T10:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Datei wird verwendet</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925216#M2754</link>
      <description>&lt;P&gt;Also mit infile werden Textdateien gelesen, keine Datasets. Für den Zugriff auf Datasets erscheint SET in diesem Fall korrekt. Dabei entfällt dann auch die Angabe der Dateiendung.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 10:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925216#M2754</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2024-04-22T10:46:46Z</dc:date>
    </item>
    <item>
      <title>Betreff: ERROR: Datei wird verwendet</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925221#M2755</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60824"&gt;@HPietschmann&lt;/a&gt;&amp;nbsp; schrieb:&lt;BR /&gt;
&lt;P&gt;Hallo,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wir haben folgendes Problem.&amp;nbsp;In einem SAS-Programm haben wir folgenden Code implementiert:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA LIB.XY;&lt;/P&gt;
&lt;P&gt;INFILE "ab.sas7bdat";&lt;/P&gt;
&lt;P&gt;RUN;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daraufhin erscheint an dieser Stelle die Fehlermeldung:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Datei wird verwendet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The data step code as shared will not return the error message as shared. Please show us the actual SAS log that includes both the error message and the actual code that's thrown the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The INFILE statement gets used to define an external file (not a SAS table/file with extension .sas7bdat).&lt;BR /&gt;You need to use a SET statement for tables.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;data want;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;set &amp;lt;libref&amp;gt;.&amp;lt;table name&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;If the libref is not WORK it must be pre-defined via a LIBNAME statement. The libref is the "pointer" to a location that contains tables (for example a folder that contains *.sas7bdat files).&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 12:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925221#M2755</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-04-22T12:04:22Z</dc:date>
    </item>
    <item>
      <title>Betreff: ERROR: Datei wird verwendet</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925227#M2756</link>
      <description>&lt;P&gt;Herzlichen Dank für die schnelle Unterstützung. Wir hatten offenbar keine Tomaten sondern Melonen auf den Augen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 12:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/ERROR-Datei-wird-verwendet/m-p/925227#M2756</guid>
      <dc:creator>HPietschmann</dc:creator>
      <dc:date>2024-04-22T12:44:10Z</dc:date>
    </item>
  </channel>
</rss>

