<?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: Use retain to aggregate strings across observations in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322578#M71378</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;your code worked! I did something wrong when amending.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you a lot!!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 03:37:43 GMT</pubDate>
    <dc:creator>may0423</dc:creator>
    <dc:date>2017-01-05T03:37:43Z</dc:date>
    <item>
      <title>Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322328#M71303</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am learning how to use the retain statement. I got confused when I tried to aggregate strings across observations by marking &lt;SPAN&gt;&amp;lt;span class="usertitle"&amp;gt; = 1 and&amp;nbsp;&amp;lt;/span&amp;gt; =0&lt;/SPAN&gt;. Here is the record and the intended&amp;nbsp;results (User_Name).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Record &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User_Name&lt;/P&gt;&lt;P&gt;&amp;lt;/ul&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;span class="usertitle"&amp;gt;&lt;/P&gt;&lt;P&gt;ABC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABCDEF&lt;/P&gt;&lt;P&gt;DEF&lt;/P&gt;&lt;P&gt;&amp;lt;/span&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;span class="usertitle"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;span &lt;/SPAN&gt;&lt;SPAN class="html-attribute-name"&gt;style&lt;/SPAN&gt;&lt;SPAN&gt;="...&amp;gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/span&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/span&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="html-tag"&gt;Please help. Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 05:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322328#M71303</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-04T05:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322329#M71304</link>
      <description>&lt;P&gt;Post what you've tried.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 05:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322329#M71304</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-04T05:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322331#M71306</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120811"&gt;@may0423&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Sounds like a very similar problem to&amp;nbsp;the discussion here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Extract-rows-from-website/m-p/321317/highlight/true#M70921" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Extract-rows-from-website/m-p/321317/highlight/true#M70921&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See if you can amend the code for your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 05:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322331#M71306</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-01-04T05:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322333#M71307</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;yes. Inspired by your code, I kept practicing and changing, and now codes are getting weirder......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8 Data test;&lt;BR /&gt;9 Set work. Posts;&lt;BR /&gt;10 Retain user_title 0;&lt;BR /&gt;11 If find(record,'usertitle"&amp;gt;') then usertitle=1;&lt;BR /&gt;12 &amp;nbsp;else if find(record,'&amp;lt;/span&amp;gt;') then usertitle=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are errors that I could not get rid of:&lt;/P&gt;&lt;P&gt;ERROR 386-185: Expecting an arithmetic expression.&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually why sometimes there is a 0 in the retain statement and sometimes not? Those errors pointed to the ' in find statement.....&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 05:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322333#M71307</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-04T05:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322338#M71309</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120811"&gt;@may0423&lt;/a&gt;&amp;nbsp;It's helpful if you post the exact log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 06:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322338#M71309</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-04T06:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322432#M71328</link>
      <description>&lt;P&gt;Two things that will help diagnose issues like this: First post the entire code and messages from the log. Second paste the copied code into a code box opened with the {i} icon on the menu above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error&amp;nbsp;messages you show will almost certainly appear with an underscore character highlighting the location the compiler has an issue with. Posting into the code box will preserve formatting to show where that character is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also want to see if this spelling is actually as desired:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;10 Retain &lt;STRONG&gt;user_title&lt;/STRONG&gt; 0;&lt;BR /&gt;11 If find(record,'usertitle"&amp;gt;') then &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;usertitle&lt;/STRONG&gt;&lt;/FONT&gt;=1;&lt;BR /&gt;12 &amp;nbsp;else if find(record,'&amp;lt;/span&amp;gt;') then &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;usertitle&lt;/STRONG&gt;&lt;/FONT&gt;=0;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 15:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322432#M71328</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-04T15:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322447#M71329</link>
      <description>&lt;P&gt;Thank you everybody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;. The Errors were gone.&amp;nbsp;The questions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) the&amp;nbsp;&amp;lt;span class="usertitle"&amp;gt; is not wanted, how could I get rid of it when the information in tmptitle is transfered to user_title?&lt;/P&gt;&lt;P&gt;(2) what if the information wanted across two observations, e.g. retain junior (next row) member?&lt;/P&gt;&lt;P&gt;(3) how to flag NA in photo 2 situation? the information between&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;lt;span class="usertitle"&amp;gt; and &amp;lt;/span&amp;gt;&amp;nbsp;was not even flagged as 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;mentioned&amp;nbsp;&lt;SPAN&gt;Perl Regular Expressions that is&amp;nbsp;very worthwhile learning, but it seems too advanced for me at this point.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;I pasted the unfinished code after the photos.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you all again!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6573iD6602AF246F9398B/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="1.jpg" title="1.jpg" width="580" height="234" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6574i9934CD2BBEB62390/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="2.jpg" title="2.jpg" width="576" height="203" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data test;&lt;BR /&gt;Set work. test0;&lt;BR /&gt;Retain user_title tmp;&lt;BR /&gt;if find (record, 'usertitle"&amp;gt;') then tmp=1;&lt;BR /&gt;if find (record, '&amp;lt;/span&amp;gt;') then tmp=0;&lt;BR /&gt;if tmp=1 then do;&lt;BR /&gt;tmptitle=record;&lt;BR /&gt;end;&lt;BR /&gt;if _n_=1 then user_title=tmptitle;&lt;BR /&gt;else user_title=user_title||tmptitle;&lt;BR /&gt;Run;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 17:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322447#M71329</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-04T17:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322553#M71367</link>
      <description>&lt;P&gt;Question 1 &amp;amp; 3 were solved (see code below). The code works well for information in only one observation.&amp;nbsp;If information is across two observations, I still don't know how to retain them into one observation with basic statements, and the records&amp;nbsp;afterwards could not be correctly matched in the output anymore.....(I'm thinking about using || to connect them, but no idea yet.....)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. Junior Member is wanted in one cell&amp;nbsp;under usertitle column and next to Member like the photo shown:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6580i65EB8BBE900BEBCE/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="1.jpg" title="1.jpg" width="506" height="206" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code of question 1&amp;amp;3:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data test;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set work. test0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;retain titlecheck tmpusertitle;&lt;BR /&gt;if find(record, 'usertitle"&amp;gt;') then titlecheck=1;&lt;BR /&gt;if find(record, '&amp;lt;/span&amp;gt;') then titlecheck=0;&lt;BR /&gt;if titlecheck=1 then user_title=record;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if _n_=1 then do;&lt;/P&gt;&lt;P&gt;...... (omit some steps of other variables here);&lt;/P&gt;&lt;P&gt;tmpusertitle=user_title;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...... (omit some steps of other variables here);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if user_title ne "" then tmpusertitle=user_title;&lt;/P&gt;&lt;P&gt;if post_id ne "" then do;&lt;/P&gt;&lt;P&gt;user_title=tmpusertitle;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 01:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322553#M71367</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-05T01:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322563#M71372</link>
      <description>&lt;P&gt;_n_=1 is the wrong check - that checks only the first record.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a bit hokey, but it gets the job done. I'm not sure what your original source is, but there's usually ways to parse some of this out ahead of time...sometimes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	x='&amp;lt;span class="usertitle"&amp;gt;';
	output;
	x="Junior";
	output;
	x="Member";
	output;
	x="&amp;lt;/span&amp;gt;";
	output;
run;

data want;
	set have;
	retain flag value;
	length value $100.;

	if find(x, 'usertitle')&amp;gt;0 then
		flag=1;

	if flag=1 and x="&amp;lt;/span&amp;gt;" then
		do;
			flag=0;
			call missing(value);
		end;

	if flag=1 and substr(x, 1, 1) ne "&amp;lt;" then
		value=catx(" ", value, x);
run;

proc print data=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jan 2017 02:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322563#M71372</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-05T02:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322566#M71374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the code. My original source is from a website (actually it could be from any website as it is just for practice). I saved the records in a dataset which have 8k records, then started statements. As for the Junior Member thing, it could sometimes be Senior Member or something else member. I am not sure if the x= in your code would work as I could not go through 8k records to specified the type of members. Please advise.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 02:45:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322566#M71374</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-05T02:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322568#M71375</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120811"&gt;@may0423&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the code. My original source is from a website (actually it could be from any website as it is just for practice). I saved the records in a dataset which have 8k records, then started statements. As for the Junior Member thing, it could sometimes be Senior Member or something else member. I am not sure if the x= in your code would work as I could not go through 8k records to specified the type of members. Please advise.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't understand.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 03:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322568#M71375</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-05T03:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322575#M71377</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;I amended your code a little bit, but it still didn't add up at the last record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, what doesn't " " mean in your &amp;nbsp;code value=catx(" ", value, x)? I might do something wrong to this part.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 03:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322575#M71377</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-05T03:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use retain to aggregate strings across observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322578#M71378</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;your code worked! I did something wrong when amending.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you a lot!!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 03:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-retain-to-aggregate-strings-across-observations/m-p/322578#M71378</guid>
      <dc:creator>may0423</dc:creator>
      <dc:date>2017-01-05T03:37:43Z</dc:date>
    </item>
  </channel>
</rss>

