<?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: meet problems for reading in data in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483969#M5995</link>
    <description>&lt;P&gt;Sorry I'm newbie, still struggling for the basic.&lt;/P&gt;&lt;P&gt;I have paste the data below, will that be okay?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IRI_KEY WEEK SY GE VEND ITEM UNITS DOLLARS F D PR&lt;BR /&gt;664497 1114 0 2 33200 19180 1 2.73 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22600 2062 2 6.38 NONE 0 0&lt;BR /&gt;664497 1114 0 3 22200 3 1 2.95 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 500 1 1.79 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 960 1 0.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 95104 1 3.19 NONE 0 0&lt;BR /&gt;664497 1114 0 3 22200 315 2 3.98 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22200 324 1 1.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 865 4 3.96 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22200 93043 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 79400 60420 1 3.79 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27517 2 6.98 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27509 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27520 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 13138 4 13.96 NONE 0 0&lt;/P&gt;</description>
    <pubDate>Sat, 04 Aug 2018 03:47:51 GMT</pubDate>
    <dc:creator>233</dc:creator>
    <dc:date>2018-08-04T03:47:51Z</dc:date>
    <item>
      <title>meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483965#M5991</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm using SAS on demand version. I am trying to read in the txt file in to sas, but I met some problems.&lt;/P&gt;&lt;P&gt;I have a dataset shown as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rrr.png" style="width: 265px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22214i735D501D83972BA7/image-dimensions/265x325?v=v2" width="265" height="325" role="button" title="rrr.png" alt="rrr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I try for a few lines of code as shown in the picture. I am confused about the delimiter and I try on "09"X.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khdf.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22217i195F4EC6F2D49E43/image-size/large?v=v2&amp;amp;px=999" role="button" title="khdf.png" alt="khdf.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the output dataset appears all dot without any values, any suggestions will really appreciate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dfdfd.png" style="width: 481px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22216i00DA79993CD3EE89/image-dimensions/481x208?v=v2" width="481" height="208" role="button" title="dfdfd.png" alt="dfdfd.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 03:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483965#M5991</guid>
      <dc:creator>233</dc:creator>
      <dc:date>2018-08-04T03:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483966#M5992</link>
      <description>&lt;P&gt;Post the txt file and not pics plz. I have no way of testing&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 03:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483966#M5992</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-04T03:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483967#M5993</link>
      <description>&lt;P&gt;Sorry, the txt file is too large and can not be attached. If without the txt file, is it possible for you to give me some advice like change the delimiter or something? Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 03:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483967#M5993</guid>
      <dc:creator>233</dc:creator>
      <dc:date>2018-08-04T03:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483968#M5994</link>
      <description>&lt;P&gt;Lol&amp;nbsp; didnt mean the full txt file. Please paste like 10 records as plain txt rather than as pics for the community to be able to copy paste the data and run a code against/with it&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 03:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483968#M5994</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-04T03:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483969#M5995</link>
      <description>&lt;P&gt;Sorry I'm newbie, still struggling for the basic.&lt;/P&gt;&lt;P&gt;I have paste the data below, will that be okay?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IRI_KEY WEEK SY GE VEND ITEM UNITS DOLLARS F D PR&lt;BR /&gt;664497 1114 0 2 33200 19180 1 2.73 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22600 2062 2 6.38 NONE 0 0&lt;BR /&gt;664497 1114 0 3 22200 3 1 2.95 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 500 1 1.79 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 960 1 0.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 95104 1 3.19 NONE 0 0&lt;BR /&gt;664497 1114 0 3 22200 315 2 3.98 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22200 324 1 1.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 22200 865 4 3.96 NONE 0 0&lt;BR /&gt;664497 1114 0 2 22200 93043 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 79400 60420 1 3.79 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27517 2 6.98 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27509 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 27520 1 2.99 NONE 0 0&lt;BR /&gt;664497 1114 0 1 47400 13138 4 13.96 NONE 0 0&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 03:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483969#M5995</guid>
      <dc:creator>233</dc:creator>
      <dc:date>2018-08-04T03:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483970#M5996</link>
      <description>&lt;P&gt;I don't think it it is a tab aka '09'x delimited file. I think it is a just delimited by blanks.&lt;/P&gt;
&lt;P&gt;Try the simple and let us know&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data beer_drug;&lt;BR /&gt;&lt;STRONG&gt;infile "home/stat440/beer_drug.txt" dlm=' ';&lt;/STRONG&gt;&lt;BR /&gt;input RI_KEY WEEK SY GE VEND ITEM UNITS DOLLARS F &lt;STRONG&gt;$&lt;/STRONG&gt; D PR ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 04:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483970#M5996</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-04T04:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483971#M5997</link>
      <description>&lt;P&gt;Thank you! I try on the blank and it works.&lt;/P&gt;&lt;P&gt;I have another concern that all the dataset starts on the second row, and the first row appears dot. Is there anything I could do to fix that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 04:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483971#M5997</guid>
      <dc:creator>233</dc:creator>
      <dc:date>2018-08-04T04:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483973#M5998</link>
      <description>&lt;P&gt;My bad and my apologies as I am on the 3rd pint lol&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add the option firstobs=2 in the infile statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;infile "home/stat440/beer_drug.txt" dlm=' ' firstobs=2;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this option enables to start reading records from 2nd record&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 04:18:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483973#M5998</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-04T04:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: meet problems for reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483974#M5999</link>
      <description>&lt;P&gt;It works! Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 04:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/meet-problems-for-reading-in-data/m-p/483974#M5999</guid>
      <dc:creator>233</dc:creator>
      <dc:date>2018-08-04T04:21:41Z</dc:date>
    </item>
  </channel>
</rss>

