<?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 Reading raw data column input in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-column-input/m-p/271206#M53959</link>
    <description>&lt;P&gt;I have a text file loaded in SAS Studio.The file contains following data:&lt;BR /&gt;Apple macbook 1499&lt;BR /&gt;Lenovo yoga 999&lt;BR /&gt;msft surface 1099&lt;BR /&gt;dell xps1299&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following SAS codes to read the and print the data:&lt;BR /&gt;`Data C_input;&lt;BR /&gt;infile 'Sample1.txt';&lt;BR /&gt;input Brand $ 1-6 Make $ 8-14 Year 16-22;&lt;BR /&gt;Run;&lt;BR /&gt;proc print data=C_input;&lt;BR /&gt;Title 'Computer Sales';&lt;BR /&gt;Run;&lt;BR /&gt;The Output I get is:&lt;BR /&gt;Computer Sales&lt;BR /&gt;Obs Brand Make Year&lt;BR /&gt;1 Apple macb .&lt;BR /&gt;2 Lenovo yoga .&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;Why is it only reading two observations?And why is it not reading the dates?&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 08:00:43 GMT</pubDate>
    <dc:creator>Prasant178</dc:creator>
    <dc:date>2016-05-18T08:00:43Z</dc:date>
    <item>
      <title>Reading raw data column input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-column-input/m-p/271206#M53959</link>
      <description>&lt;P&gt;I have a text file loaded in SAS Studio.The file contains following data:&lt;BR /&gt;Apple macbook 1499&lt;BR /&gt;Lenovo yoga 999&lt;BR /&gt;msft surface 1099&lt;BR /&gt;dell xps1299&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following SAS codes to read the and print the data:&lt;BR /&gt;`Data C_input;&lt;BR /&gt;infile 'Sample1.txt';&lt;BR /&gt;input Brand $ 1-6 Make $ 8-14 Year 16-22;&lt;BR /&gt;Run;&lt;BR /&gt;proc print data=C_input;&lt;BR /&gt;Title 'Computer Sales';&lt;BR /&gt;Run;&lt;BR /&gt;The Output I get is:&lt;BR /&gt;Computer Sales&lt;BR /&gt;Obs Brand Make Year&lt;BR /&gt;1 Apple macb .&lt;BR /&gt;2 Lenovo yoga .&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;Why is it only reading two observations?And why is it not reading the dates?&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 08:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-column-input/m-p/271206#M53959</guid>
      <dc:creator>Prasant178</dc:creator>
      <dc:date>2016-05-18T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data column input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-column-input/m-p/272935#M54333</link>
      <description>&lt;P&gt;The example in your post is not column-aligned, so there is no chance your code can work as it expects column alignment.&lt;/P&gt;
&lt;P&gt;What you call year seems to be a price, what you call make seems to be a model.&lt;/P&gt;
&lt;P&gt;Please check that the example you provide is correct.&lt;/P&gt;
&lt;P&gt;I did not open the attached document as it is a security risk. Please provide a txt file, and only if needed.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 03:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-column-input/m-p/272935#M54333</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-05-25T03:26:09Z</dc:date>
    </item>
  </channel>
</rss>

