<?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: If not using trailing sign in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/If-not-using-trailing-sign/m-p/444395#M282937</link>
    <description>&lt;P&gt;Your code as posted won't work to your satisfaction, as national_park has blanks in some rows.&lt;/P&gt;
&lt;P&gt;See my slight correction:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
Input National_Park $22. State $ Year Acreage;
Informat Acreage COMMA9.;
cards;
Yellowstone           ID/MT/WY 1872    4,065,493
Everglades            FL 1934          1,398,800
Yosemite              CA 1864            760,917
Great Smoky Mountains NC/TN 1926         520,269
Wolf Trap Farm        VA 1966                130
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As for your second question: just try it. &lt;/P&gt;</description>
    <pubDate>Sat, 10 Mar 2018 15:04:48 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-03-10T15:04:48Z</dc:date>
    <item>
      <title>If not using trailing sign</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-not-using-trailing-sign/m-p/444393#M282936</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there was a question in my assignment, and after I checked the answer,&lt;/P&gt;&lt;P&gt;I still did not understand, so I post it here.&lt;/P&gt;&lt;P&gt;The data set is as below:&lt;/P&gt;&lt;PRE&gt;Yellowstone           ID/MT/WY 1872    4,065,493
Everglades            FL 1934          1,398,800
Yosemite              CA 1864            760,917
Great Smoky Mountains NC/TN 1926         520,269
Wolf Trap Farm        VA 1966                130&lt;/PRE&gt;&lt;P&gt;And the question was:&lt;/P&gt;&lt;DIV&gt;Figure out how to read in the data without using the @40&lt;/DIV&gt;&lt;DIV&gt;pointer (or any pointer). Describe what you did, and why, and submit your code&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The&amp;nbsp; answer was to use COMMA9. for Acreage (the last column)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;so the answer was :&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Input National Park $ State $ Year Acreage;
Informat Acreage COMMA9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;There was also another question that,&lt;/DIV&gt;&lt;DIV&gt;whether there be any difference between placing the "Informat" before or after the "Input" statement?&lt;/DIV&gt;&lt;DIV&gt;I think there would be no difference,&lt;/DIV&gt;&lt;DIV&gt;am I correct?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you!&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 14:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-not-using-trailing-sign/m-p/444393#M282936</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-10T14:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: If not using trailing sign</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-not-using-trailing-sign/m-p/444395#M282937</link>
      <description>&lt;P&gt;Your code as posted won't work to your satisfaction, as national_park has blanks in some rows.&lt;/P&gt;
&lt;P&gt;See my slight correction:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
Input National_Park $22. State $ Year Acreage;
Informat Acreage COMMA9.;
cards;
Yellowstone           ID/MT/WY 1872    4,065,493
Everglades            FL 1934          1,398,800
Yosemite              CA 1864            760,917
Great Smoky Mountains NC/TN 1926         520,269
Wolf Trap Farm        VA 1966                130
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As for your second question: just try it. &lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 15:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-not-using-trailing-sign/m-p/444395#M282937</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-03-10T15:04:48Z</dc:date>
    </item>
  </channel>
</rss>

