<?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: how to correct the code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-correct-the-code/m-p/495901#M130998</link>
    <description>&lt;P&gt;You forgot to hold the row pointer with @.&lt;/P&gt;
&lt;P&gt;And since the columns are not at fixed places, you mostly try to read blanks for numbers.&lt;/P&gt;
&lt;P&gt;STRONG hint: when posting examples of external files,&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt; use the {i} button, as that subwindow keeps the vertical alignment as-is. The main posting window tends to eat successive blanks, or replace tab characters.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Sep 2018 12:12:07 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-09-15T12:12:07Z</dc:date>
    <item>
      <title>how to correct the code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-correct-the-code/m-p/495898#M130995</link>
      <description>&lt;P&gt;Ruth 39 11&lt;BR /&gt;Jose 32 22&lt;BR /&gt;Sue 30 33&lt;BR /&gt;John 40 44&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test ;&lt;BR /&gt;infile 'C:\Users\LENOVO\Desktop\test.txt' ;&lt;BR /&gt;input a $1-4 ;&lt;BR /&gt;if a='Ruth' then input idnum 10-11 ;&lt;BR /&gt;else input age 7-8 ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it gives only ruth what about idnum,age.&lt;/P&gt;&lt;P&gt;it shows missing values in age,numeric variables&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 11:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-correct-the-code/m-p/495898#M130995</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-09-15T11:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to correct the code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-correct-the-code/m-p/495901#M130998</link>
      <description>&lt;P&gt;You forgot to hold the row pointer with @.&lt;/P&gt;
&lt;P&gt;And since the columns are not at fixed places, you mostly try to read blanks for numbers.&lt;/P&gt;
&lt;P&gt;STRONG hint: when posting examples of external files,&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt; use the {i} button, as that subwindow keeps the vertical alignment as-is. The main posting window tends to eat successive blanks, or replace tab characters.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 12:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-correct-the-code/m-p/495901#M130998</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-15T12:12:07Z</dc:date>
    </item>
  </channel>
</rss>

