<?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: import external file with data step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-external-file-with-data-step/m-p/852499#M336976</link>
    <description>&lt;P&gt;The DATA statement misses the terminating semicolon, so the INFILE statement appears to the compiler as part of the DATA statement.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 13:53:49 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-01-06T13:53:49Z</dc:date>
    <item>
      <title>import external file with data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-external-file-with-data-step/m-p/852497#M336975</link>
      <description>&lt;P&gt;my code:&lt;/P&gt;&lt;P&gt;data bvd.ac&lt;BR /&gt;infile '/data/bvd/ac/financials_and_ratios.txt' dlm='09'x missover dsd lrecl=32767 firstobs=2 truncover;&lt;BR /&gt;input&lt;BR /&gt;ID $12.&lt;BR /&gt;Code $2.&lt;BR /&gt;Filing_type $21.&lt;BR /&gt;Closing_date :yymmdd10.&lt;BR /&gt;Number_of_months $2.&lt;BR /&gt;Audit_status $1.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my error:&lt;/P&gt;&lt;P&gt;data bvd.ac&lt;BR /&gt;infile '/data/bvd/AcademicsSample/Industry-Global_financials_and_ratios.txt' dlm='09'x missover dsd lrecl=32767 firstobs=2 truncover;&lt;BR /&gt;_ _&lt;BR /&gt;22 22&lt;BR /&gt;200 200&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 13:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-external-file-with-data-step/m-p/852497#M336975</guid>
      <dc:creator>Satori</dc:creator>
      <dc:date>2023-01-06T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: import external file with data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-external-file-with-data-step/m-p/852499#M336976</link>
      <description>&lt;P&gt;The DATA statement misses the terminating semicolon, so the INFILE statement appears to the compiler as part of the DATA statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 13:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-external-file-with-data-step/m-p/852499#M336976</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-06T13:53:49Z</dc:date>
    </item>
  </channel>
</rss>

