<?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: Reading data lines in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485819#M126268</link>
    <description>&lt;P&gt;I think that for some reason the code was in an area that I had commented.&amp;nbsp; When I moved the code it did work ok.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 15:26:25 GMT</pubDate>
    <dc:creator>jacksonan123</dc:creator>
    <dc:date>2018-08-10T15:26:25Z</dc:date>
    <item>
      <title>Reading data lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485814#M126265</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sampled;
infile datalines truncover;
 input trtgrp subject time  ipred ;
   datalines;
1 1 0 0
;
run;

Log
 NOTE: Invalid data for subject in line 78 3-5.
 RULE:      ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                     
 
 78  CHAR   1 1.0  0                                                                        
     ZONE   32303223222222222222222222222222222222222222222222222222222222222222222222222222
     NUMR   10190000000000000000000000000000000000000000000000000000000000000000000000000000
 trtgrp=1 subject=. time=0 ipred=. _ERROR_=1 _N_=1
 NOTE: The data set WORK.SAMPLED has 1 observations and 4 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have a very short data lines program and am using truncover, but I get an error that subject and ipred is missing.&amp;nbsp; Can anyone tell me why subject and ipred are missing? &amp;nbsp; All of the data are numeric.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485814#M126265</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2018-08-10T15:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485816#M126266</link>
      <description>&lt;P&gt;Your code worked fine when i tested&lt;/P&gt;
&lt;P&gt;data sampled;&lt;BR /&gt;infile datalines truncover;&lt;BR /&gt; input trtgrp subject time ipred ;&lt;BR /&gt; datalines;&lt;BR /&gt;1 1 0 0&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc print noobs;run;&lt;/P&gt;
&lt;P&gt;Log:&lt;/P&gt;
&lt;P&gt;832 data sampled;&lt;BR /&gt;833 infile datalines truncover;&lt;BR /&gt;834 input trtgrp subject time ipred ;&lt;BR /&gt;835 datalines;&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.SAMPLED has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.00 seconds&lt;BR /&gt; cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Output&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Print: Data Set WORK.SAMPLED" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;trtgrp&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;subject&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;time&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;ipred&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;0&lt;/TD&gt;
&lt;TD class="r data"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485816#M126266</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-10T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485819#M126268</link>
      <description>&lt;P&gt;I think that for some reason the code was in an area that I had commented.&amp;nbsp; When I moved the code it did work ok.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-data-lines/m-p/485819#M126268</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2018-08-10T15:26:25Z</dc:date>
    </item>
  </channel>
</rss>

