<?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 Txt files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731852#M228009</link>
    <description>&lt;P&gt;good day expects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using the below script to Import txt file, however my script adds a new column called VAR1. see screen prints below. please assist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;script&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VALLY_0-1617793519859.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57039i779E19CBB75A09F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VALLY_0-1617793519859.png" alt="VALLY_0-1617793519859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VALLY_1-1617793560519.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57040iF1AAF41523EF0F82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VALLY_1-1617793560519.png" alt="VALLY_1-1617793560519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 11:07:28 GMT</pubDate>
    <dc:creator>VALLY</dc:creator>
    <dc:date>2021-04-07T11:07:28Z</dc:date>
    <item>
      <title>Import Txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731852#M228009</link>
      <description>&lt;P&gt;good day expects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using the below script to Import txt file, however my script adds a new column called VAR1. see screen prints below. please assist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;script&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VALLY_0-1617793519859.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57039i779E19CBB75A09F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VALLY_0-1617793519859.png" alt="VALLY_0-1617793519859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VALLY_1-1617793560519.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57040iF1AAF41523EF0F82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VALLY_1-1617793560519.png" alt="VALLY_1-1617793560519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731852#M228009</guid>
      <dc:creator>VALLY</dc:creator>
      <dc:date>2021-04-07T11:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import Txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731865#M228013</link>
      <description>&lt;P&gt;Looks like the whole source string gets imported into a single variable Var1.&lt;/P&gt;
&lt;P&gt;You define getnames=no so SAS needs to create a variable name (Var1).&lt;/P&gt;
&lt;P&gt;The default delimiter does not match your data so the whole line gets imported into a single variable.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731865#M228013</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-04-07T11:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import Txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731872#M228017</link>
      <description>&lt;P&gt;Looks like a SAP unload. These are usually not delimited, but have fixed-width columns, which you can read with &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=p0f9yk6pd4znukn1rlw6hzkg1url.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;formatted INPUT&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731872#M228017</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-07T12:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import Txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731874#M228018</link>
      <description>&lt;P&gt;PS PROC IMPORT won't help you here in any way, as SAP unloads do not provide a header line with column names; you have to write your own data step according to the unload documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731874#M228018</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-07T12:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Import Txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731876#M228019</link>
      <description>&lt;P&gt;Looks like a fixed-width-file, nothing to be read by proc import, but with a data step.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Txt-files/m-p/731876#M228019</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-04-07T12:25:14Z</dc:date>
    </item>
  </channel>
</rss>

