<?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 Please Help..!! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240907#M44544</link>
    <description>&lt;P&gt;DATA kids;&lt;BR /&gt;LENGTH kidname $ 4 sex $ 1;&lt;BR /&gt;INPUT famid kidname birth age wt sex ;&lt;BR /&gt;CARDS;&lt;BR /&gt;1 Beth 1 9 60 f&lt;BR /&gt;1 Bob 2 6 40 m&lt;BR /&gt;1 Barb 3 3 20 f&lt;BR /&gt;2 Andy 1 8 80 m&lt;BR /&gt;2 Al 2 6 50 m&lt;BR /&gt;2 Ann 3 2 20 f&lt;BR /&gt;3 Pete 1 6 60 m&lt;BR /&gt;3 Pam 2 4 40 f&lt;BR /&gt;3 Phil 3 2 20 m&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data totalweight;&lt;BR /&gt;set kids;&lt;BR /&gt;by famid;&lt;BR /&gt;if first.famid then weight = wt;&lt;BR /&gt;else weight+wt;&lt;BR /&gt;if last.famid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Guys my Question is that is there any way that I can see my answer only with familyID &amp;amp; total weight.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I dnt wanna see the rest of VAR..!! Please help me..!! ( Dnt wanna use drop &amp;amp; keep Fuct. )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Dec 2015 10:26:52 GMT</pubDate>
    <dc:creator>SAM_VAS</dc:creator>
    <dc:date>2015-12-27T10:26:52Z</dc:date>
    <item>
      <title>Please Help..!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240907#M44544</link>
      <description>&lt;P&gt;DATA kids;&lt;BR /&gt;LENGTH kidname $ 4 sex $ 1;&lt;BR /&gt;INPUT famid kidname birth age wt sex ;&lt;BR /&gt;CARDS;&lt;BR /&gt;1 Beth 1 9 60 f&lt;BR /&gt;1 Bob 2 6 40 m&lt;BR /&gt;1 Barb 3 3 20 f&lt;BR /&gt;2 Andy 1 8 80 m&lt;BR /&gt;2 Al 2 6 50 m&lt;BR /&gt;2 Ann 3 2 20 f&lt;BR /&gt;3 Pete 1 6 60 m&lt;BR /&gt;3 Pam 2 4 40 f&lt;BR /&gt;3 Phil 3 2 20 m&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data totalweight;&lt;BR /&gt;set kids;&lt;BR /&gt;by famid;&lt;BR /&gt;if first.famid then weight = wt;&lt;BR /&gt;else weight+wt;&lt;BR /&gt;if last.famid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Guys my Question is that is there any way that I can see my answer only with familyID &amp;amp; total weight.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I dnt wanna see the rest of VAR..!! Please help me..!! ( Dnt wanna use drop &amp;amp; keep Fuct. )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 10:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240907#M44544</guid>
      <dc:creator>SAM_VAS</dc:creator>
      <dc:date>2015-12-27T10:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help..!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240908#M44545</link>
      <description>&lt;P&gt;First, everyone that posts questions are entitled answers if there's anyone who wishes to answers them. So please have a&amp;nbsp;descriptive title for your question as subject, not a cry for help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And why don't want to use keep/drop, when that's the simplest way to&amp;nbsp;accomplish your question?&lt;/P&gt;
&lt;P&gt;ANd by the way, what do you mean "see"?&lt;/P&gt;
&lt;P&gt;If his is a report, you usually explicitly tell which variables you wish to present, regardless&amp;nbsp;of what variables that is stored in the underlying data set.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 11:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240908#M44545</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-27T11:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help..!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240922#M44549</link>
      <description>&lt;P&gt;As Linus mentioned, it's important to know how you are viewing the results. &amp;nbsp;You could easily control the variables that print in a report:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=totalweight;&lt;/P&gt;
&lt;P&gt;var famid weight;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if you are viewing the data set interactively, the easiest way would be to move those columns to the left and ignore the columns on the right. &amp;nbsp;To move those columns to the left, modify the LENGTH statement so that it defines them first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LENGTH famid weight 8 kidname $ 4 sex $ 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 16:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240922#M44549</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-12-27T16:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help..!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240959#M44562</link>
      <description>&lt;P&gt;use other proc ? like proc sql, proc means ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class nway sum ;
class sex;
var weight;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Dec 2015 01:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240959#M44562</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-12-28T01:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help..!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240981#M44569</link>
      <description>&lt;P&gt;Dear Linush&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First please allow me thank you for the&amp;nbsp;answer ..!! And I would like to tell you that I m not crying for the ans. its just that i am new to sas supprt communities ..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am learning the thinks ..!! how to make it better..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again thank you for your kind supprt &amp;amp; help..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 04:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help/m-p/240981#M44569</guid>
      <dc:creator>SAM_VAS</dc:creator>
      <dc:date>2015-12-28T04:48:02Z</dc:date>
    </item>
  </channel>
</rss>

