<?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 RETAIN AND SUM in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625179#M20200</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this code and I wanted to know the steps to get to the output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36182iDAE414D8BC25A8C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-17 at 4.26.52 PM.png" alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 03:32:09 GMT</pubDate>
    <dc:creator>pri26</dc:creator>
    <dc:date>2020-02-17T03:32:09Z</dc:date>
    <item>
      <title>RETAIN AND SUM</title>
      <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625179#M20200</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this code and I wanted to know the steps to get to the output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36182iDAE414D8BC25A8C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-17 at 4.26.52 PM.png" alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 03:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625179#M20200</guid>
      <dc:creator>pri26</dc:creator>
      <dc:date>2020-02-17T03:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: RETAIN AND SUM</title>
      <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625182#M20201</link>
      <description>&lt;P&gt;The code shown generates the output shown. Does it not run for you? I didn't type it out (can't copy and paste from an image) so it seems fine at first glance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something else you're looking for beyond this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/312354"&gt;@pri26&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this code and I wanted to know the steps to get to the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36182iDAE414D8BC25A8C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-17 at 4.26.52 PM.png" alt="Screen Shot 2020-02-17 at 4.26.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 03:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625182#M20201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-17T03:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: RETAIN AND SUM</title>
      <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625184#M20202</link>
      <description>&lt;P&gt;I wanted someone to explain why the output is that with the Retain and sum, why does it repeat the x values twice?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 04:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625184#M20202</guid>
      <dc:creator>pri26</dc:creator>
      <dc:date>2020-02-17T04:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: RETAIN AND SUM</title>
      <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625195#M20207</link>
      <description>Because you have two output statements in your data step.</description>
      <pubDate>Mon, 17 Feb 2020 06:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625195#M20207</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-02-17T06:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: RETAIN AND SUM</title>
      <link>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625382#M20241</link>
      <description>Go through each line of the code and add your comments to what you think it's doing. Post that back and we'll show you where your understanding may be incorrect.</description>
      <pubDate>Mon, 17 Feb 2020 18:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/RETAIN-AND-SUM/m-p/625382#M20241</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-17T18:38:08Z</dc:date>
    </item>
  </channel>
</rss>

