<?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: What is wrong with my programming here ? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771503#M30962</link>
    <description>&lt;P&gt;Alternative would show the tabs some love.&amp;nbsp; DSD and DLM= options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data hurricane1;
   infile cards dsd dlm='09'x;
   input name $ year deaths;
   datalines;
Katrina	2005	1200
Andrew	1992	23
Charley	2004	10
Wilma	2005	5
Ivan	2004	25
Rita	2005	7
Frances	2004	6
Hugo	1989	21
Jeanne	2004	5
Floyd	1999	56
;
run;
proc print data=hurricane1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 Sep 2021 21:00:32 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2021-09-30T21:00:32Z</dc:date>
    <item>
      <title>What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771492#M30957</link>
      <description>&lt;P&gt;Can someone explain how do I fix my input to show the data correctly. I don't understand how it works. Can someone show me how the code should look ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data hurricane1;
input name $ 1-7 year 8-12 deaths 13-17;
datalines;
Katrina	2005	1200
Andrew	1992	23
Charley	2004	10
Wilma	2005	5
Ivan	2004	25
Rita	2005	7
Frances	2004	6
Hugo	1989	21
Jeanne	2004	5
Floyd	1999	56
;
run;
proc print data=hurricane1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-09-30 132909.png" style="width: 260px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64282i4F4566C70F918B3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-09-30 132909.png" alt="Screenshot 2021-09-30 132909.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I really don't get how to use column inputs. What do I have to do ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 20:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771492#M30957</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-09-30T20:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771494#M30958</link>
      <description>&lt;P&gt;There's nothing wrong with your program, but you have tabs in your data rows causing misalignments. Remove ALL tabs from your data lines and replace with spaces.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 20:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771494#M30958</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-09-30T20:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771495#M30959</link>
      <description>&lt;P&gt;Your data have tabs.&amp;nbsp; Use INFILE statement option EXPANDTABS;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data hurricane1;
   infile cards expandtabs;
   input name $ 1-7 year 8-12 deaths 13-17;
   datalines;
Katrina	2005	1200
Andrew	1992	23
Charley	2004	10
Wilma	2005	5
Ivan	2004	25
Rita	2005	7
Frances	2004	6
Hugo	1989	21
Jeanne	2004	5
Floyd	1999	56
;
run;
proc print data=hurricane1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-09-30 154537.png" style="width: 169px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64283i572E8E8824B22A8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-09-30 154537.png" alt="Screenshot 2021-09-30 154537.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 20:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771495#M30959</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-09-30T20:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771496#M30960</link>
      <description>So are the tabs for example the "1-7" ?</description>
      <pubDate>Thu, 30 Sep 2021 20:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771496#M30960</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-09-30T20:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771501#M30961</link>
      <description>&lt;P&gt;No, you have tab characters between your data items: Katrina&amp;lt;tab&amp;gt;2005&amp;lt;tab&amp;gt;1200.&lt;/P&gt;
&lt;P&gt;Remove the tabs or use&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15410"&gt;@data_null__&lt;/a&gt;&amp;nbsp;'s solution.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 20:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771501#M30961</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-09-30T20:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771503#M30962</link>
      <description>&lt;P&gt;Alternative would show the tabs some love.&amp;nbsp; DSD and DLM= options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data hurricane1;
   infile cards dsd dlm='09'x;
   input name $ year deaths;
   datalines;
Katrina	2005	1200
Andrew	1992	23
Charley	2004	10
Wilma	2005	5
Ivan	2004	25
Rita	2005	7
Frances	2004	6
Hugo	1989	21
Jeanne	2004	5
Floyd	1999	56
;
run;
proc print data=hurricane1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Sep 2021 21:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771503#M30962</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-09-30T21:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my programming here ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771506#M30963</link>
      <description>Thank you ! I was able to get it to work !</description>
      <pubDate>Thu, 30 Sep 2021 21:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-wrong-with-my-programming-here/m-p/771506#M30963</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-09-30T21:10:16Z</dc:date>
    </item>
  </channel>
</rss>

