<?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 in data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356229#M83515</link>
    <description>&lt;P&gt;Hi, I&amp;nbsp;have tried to read this data in several diffferent ways and cannot get it to align correctly. The code and the results are below. &amp;nbsp;The&amp;nbsp;&lt;SPAN&gt;visitmnemonic column keeps reading too much and if I shorten the length then the first obs is also shortened. Thanks in advance for your help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data widepe ;&lt;BR /&gt; input @1 subjectnumberstr $9. &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30987"&gt;@11&lt;/a&gt; visitmnemonic $9. pegenap_c &amp;amp; $31. ;&lt;BR /&gt; datalines;&lt;BR /&gt;0100-1204 screening Abnormal, please specify&lt;BR /&gt;0100-1204 eos/et Normal&lt;BR /&gt; ;&lt;BR /&gt;run;&lt;BR /&gt;proc print data = widepe; run;&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.WIDEPE" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;Obs&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;subjectnumberstr&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;visitmnemonic&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;pegenap_c&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TD class="l data"&gt;0100-1204&lt;/TD&gt;
&lt;TD class="l data"&gt;screening&lt;/TD&gt;
&lt;TD class="l data"&gt;Abnormal, please specify&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2&lt;/TH&gt;
&lt;TD class="l data"&gt;0100-1204&lt;/TD&gt;
&lt;TD class="l data"&gt;eos/et N&lt;/TD&gt;
&lt;TD class="l data"&gt;ormal&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 05 May 2017 05:43:11 GMT</pubDate>
    <dc:creator>cj9000</dc:creator>
    <dc:date>2017-05-05T05:43:11Z</dc:date>
    <item>
      <title>reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356229#M83515</link>
      <description>&lt;P&gt;Hi, I&amp;nbsp;have tried to read this data in several diffferent ways and cannot get it to align correctly. The code and the results are below. &amp;nbsp;The&amp;nbsp;&lt;SPAN&gt;visitmnemonic column keeps reading too much and if I shorten the length then the first obs is also shortened. Thanks in advance for your help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data widepe ;&lt;BR /&gt; input @1 subjectnumberstr $9. &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30987"&gt;@11&lt;/a&gt; visitmnemonic $9. pegenap_c &amp;amp; $31. ;&lt;BR /&gt; datalines;&lt;BR /&gt;0100-1204 screening Abnormal, please specify&lt;BR /&gt;0100-1204 eos/et Normal&lt;BR /&gt; ;&lt;BR /&gt;run;&lt;BR /&gt;proc print data = widepe; run;&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.WIDEPE" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;Obs&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;subjectnumberstr&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;visitmnemonic&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;pegenap_c&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TD class="l data"&gt;0100-1204&lt;/TD&gt;
&lt;TD class="l data"&gt;screening&lt;/TD&gt;
&lt;TD class="l data"&gt;Abnormal, please specify&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2&lt;/TH&gt;
&lt;TD class="l data"&gt;0100-1204&lt;/TD&gt;
&lt;TD class="l data"&gt;eos/et N&lt;/TD&gt;
&lt;TD class="l data"&gt;ormal&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2017 05:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356229#M83515</guid>
      <dc:creator>cj9000</dc:creator>
      <dc:date>2017-05-05T05:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356231#M83516</link>
      <description>&lt;P&gt;Use colons before the formats so that the blanks as column separators are not overridden:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data widepe;
input subjectnumberstr :$9. visitmnemonic :$9. pegenap_c &amp;amp; :$31.;
datalines;
0100-1204 screening Abnormal, please specify
0100-1204 eos/et Normal
;
run;

proc print data=widepe;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 May 2017 05:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356231#M83516</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-05T05:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: reading in data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356232#M83517</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 05:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-in-data/m-p/356232#M83517</guid>
      <dc:creator>cj9000</dc:creator>
      <dc:date>2017-05-05T05:55:39Z</dc:date>
    </item>
  </channel>
</rss>

