<?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: Count and merge rows. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60217#M17051</link>
    <description>OK.&lt;BR /&gt;
I think understand much more.If you have some other problem ,So I will be here tomorrow,For the sake that I have to leave now.It is not very convenient for to surf Internet. :&amp;lt;&lt;BR /&gt;
&lt;BR /&gt;
Ksharp&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data temp;&lt;BR /&gt;
infile datalines truncover;&lt;BR /&gt;
input name $ no no2 ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
A 20 50&lt;BR /&gt;
A 30 80&lt;BR /&gt;
A 60&lt;BR /&gt;
B 20 30&lt;BR /&gt;
B 40 50&lt;BR /&gt;
C 20 50&lt;BR /&gt;
C 60 80&lt;BR /&gt;
C 70&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
data op(where=(no_value is not missing));&lt;BR /&gt;
 set temp;&lt;BR /&gt;
 array n{*} no:;&lt;BR /&gt;
 do i=1 to dim(n);&lt;BR /&gt;
  no_name=vname(n{i});&lt;BR /&gt;
  no_value=n{i};&lt;BR /&gt;
  output;&lt;BR /&gt;
 end;&lt;BR /&gt;
 drop i no no2;&lt;BR /&gt;
run;&lt;BR /&gt;
proc sort data=op;&lt;BR /&gt;
 by name no_value;&lt;BR /&gt;
run;&lt;BR /&gt;
data op;&lt;BR /&gt;
 set op;&lt;BR /&gt;
 by name no_name notsorted;&lt;BR /&gt;
 length no_char $ 50;&lt;BR /&gt;
 retain no_char;&lt;BR /&gt;
 if first.no_name then call missing(no_char);&lt;BR /&gt;
 no_char=catx(',',no_char,no_value);&lt;BR /&gt;
 if no_name eq 'no' then flag+1;&lt;BR /&gt;
 if last.no_name then do;&lt;BR /&gt;
       _name=catx(',',name,flag);&lt;BR /&gt;
       output; &lt;BR /&gt;
                end;&lt;BR /&gt;
run;&lt;BR /&gt;
proc transpose data=op(keep=_name no_name no_char) out=want;&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 id no_name;&lt;BR /&gt;
 var no_char;&lt;BR /&gt;
run;&lt;BR /&gt;
data want;&lt;BR /&gt;
 set want;&lt;BR /&gt;
 name=scan(_name,1,',');&lt;BR /&gt;
 drop _name _name_;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Ksharp

Message was edited by: Ksharp</description>
    <pubDate>Tue, 03 May 2011 11:35:20 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2011-05-03T11:35:20Z</dc:date>
    <item>
      <title>Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60211#M17045</link>
      <description>HI All&lt;BR /&gt;
Can somebody help me with this?&lt;BR /&gt;
This is my table:&lt;BR /&gt;
&lt;BR /&gt;
name	no	code	CNT	no2	code2&lt;BR /&gt;
A	20	sc2000	1	50	TT2000&lt;BR /&gt;
A	30	sc6000	2	80	TT0000&lt;BR /&gt;
A	60	sc2000	3		&lt;BR /&gt;
B	20	sc2000	1	30	TT2000&lt;BR /&gt;
B	40	sc2000	2	50	TT0000&lt;BR /&gt;
C	20	sc2000	1	50	TT2000&lt;BR /&gt;
C	60	sc2000	2	80	TT0000&lt;BR /&gt;
C	70	sc3000	3		&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This is what I need as result.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
name	no	code	              CNT	no2	code2&lt;BR /&gt;
A	20,30	sc2000,sc6000	1	50	TT2000&lt;BR /&gt;
A	60	sc2000	                 3	80	TT0000&lt;BR /&gt;
B	20	sc2000	                 1	30	TT2000&lt;BR /&gt;
B	40	sc2000	                 2	50	TT0000&lt;BR /&gt;
C	20	sc2000	                 1	50	TT2000&lt;BR /&gt;
C	60,70	sc2000,sc3000	3	80	TT0000&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance. &lt;BR /&gt;
Bob</description>
      <pubDate>Fri, 29 Apr 2011 15:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60211#M17045</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-04-29T15:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60212#M17046</link>
      <description>I don't think anyone is going to be able to help without some idea of what logic you're using to get to the second table.</description>
      <pubDate>Fri, 29 Apr 2011 16:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60212#M17046</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2011-04-29T16:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60213#M17047</link>
      <description>Or without knowing how many  levels of match/mismatch are needed, either fixed such as first two as shown, running two where the second of your displayed pairs could then be paired with a third, or an indefinate number.</description>
      <pubDate>Fri, 29 Apr 2011 21:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60213#M17047</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-04-29T21:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60214#M17048</link>
      <description>Hi DBailey / ballardw&lt;BR /&gt;
Thank you very much for answers. &lt;BR /&gt;
I get this results after left join two tables on name=name and CNT=CNT(first: name,no,code, cnt; second: : name,no2,code2, cnt ). If you take a look at fist two rows in result (A) you will see that no 20 and 30 are merged as well as code sc2000,sc6000. Reason for merging is because ‘code’ 20 and 30 are less than first next ‘code2’.(50) and I want to get ascending order. It could be more than two ‘no’ and ‘code’ for merging.   &lt;BR /&gt;
Is it possible to write such query?&lt;BR /&gt;
Or to get result like this in left join step:&lt;BR /&gt;
A 20 sc2000 1 &lt;BR /&gt;
A 30 sc6000 2 50 TT2000&lt;BR /&gt;
A 60 sc2000 3 80 TT0000&lt;BR /&gt;
B 20 sc2000 1 30 TT2000&lt;BR /&gt;
B 40 sc2000 2 50 TT0000&lt;BR /&gt;
C 20 sc2000 1 50 TT2000&lt;BR /&gt;
C 60 sc2000 2 &lt;BR /&gt;
C 70 sc3000 3 80 TT0000&lt;BR /&gt;
 In that case I can’t use CNT for left join.&lt;BR /&gt;
&lt;BR /&gt;
Or it is easier to merge cell after append second tab table to first and order by ‘name’ and ‘no’ (merge all ‘no’ and ‘code’ until code start with TT?) I don’t know is something like that possible. &lt;BR /&gt;
A 20 sc2000 1 &lt;BR /&gt;
A 30 sc6000 2 &lt;BR /&gt;
A 50 TT2000&lt;BR /&gt;
A 60 sc2000 3 &lt;BR /&gt;
A 80 TT0000&lt;BR /&gt;
B 20 sc2000 1 &lt;BR /&gt;
B 30 TT2000&lt;BR /&gt;
B 40 sc2000 2 &lt;BR /&gt;
B 50 TT0000&lt;BR /&gt;
C 20 sc2000 1 &lt;BR /&gt;
C 50 TT2000&lt;BR /&gt;
C 60 sc2000 2 &lt;BR /&gt;
C 70 sc3000 3 &lt;BR /&gt;
C 80 TT0000&lt;BR /&gt;
&lt;BR /&gt;
Then I can separate table, count again (CNT) and left joint on the end. &lt;BR /&gt;
&lt;BR /&gt;
If you have any suggestion or solutions please let me know.&lt;BR /&gt;
Thank you again.</description>
      <pubDate>Mon, 02 May 2011 08:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60214#M17048</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-05-02T08:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60215#M17049</link>
      <description>I still not understand what your logic is totally.&lt;BR /&gt;
Maybe you need to post some more data and more explain what your logic is.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Tue, 03 May 2011 02:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60215#M17049</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-03T02:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60216#M17050</link>
      <description>Hi Ksharp.&lt;BR /&gt;
Thank you for your respond. &lt;BR /&gt;
I will try to explain better. &lt;BR /&gt;
name	no	no2&lt;BR /&gt;
A	20	50&lt;BR /&gt;
A	30	80&lt;BR /&gt;
A	60	&lt;BR /&gt;
B	20	30&lt;BR /&gt;
B	40	50&lt;BR /&gt;
C	20	50&lt;BR /&gt;
C	60	80&lt;BR /&gt;
C	70	&lt;BR /&gt;
&lt;BR /&gt;
name	no	no2&lt;BR /&gt;
A	20,30	50&lt;BR /&gt;
A	60	80&lt;BR /&gt;
B	20	30&lt;BR /&gt;
B	40	50&lt;BR /&gt;
C	20	50&lt;BR /&gt;
C	60,70	80&lt;BR /&gt;
  	&lt;BR /&gt;
Every ‘name’ (A,B,C) go thought the process :‘no’ and getting there number (20,30,40,50....) and then go to the next level ‘no2’ where also getting  a number (for 10,20,30 larger then at ‘no’). This process can be repeated several times. My problem is when one ‘name’ (in this case A) goes to ‘no’ twice (or more) in row (20,30) and after that to ‘no2’(50).What I want is to merge cell column ‘no’ in case like that. Only way how to determinate this is to count 20, 30 in ‘no’ and stop when find first next in ‘no2’ (50)means that A was twice in a row at ‘no’.   &lt;BR /&gt;
In B process is correct 40 – 50 60 – 70 &lt;BR /&gt;
In C fist is ok but after first ‘no2’ C goes twice thought the ‘no’ and then again to ‘no2’  &lt;BR /&gt;
Thank you in advance.</description>
      <pubDate>Tue, 03 May 2011 07:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60216#M17050</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-05-03T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60217#M17051</link>
      <description>OK.&lt;BR /&gt;
I think understand much more.If you have some other problem ,So I will be here tomorrow,For the sake that I have to leave now.It is not very convenient for to surf Internet. :&amp;lt;&lt;BR /&gt;
&lt;BR /&gt;
Ksharp&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data temp;&lt;BR /&gt;
infile datalines truncover;&lt;BR /&gt;
input name $ no no2 ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
A 20 50&lt;BR /&gt;
A 30 80&lt;BR /&gt;
A 60&lt;BR /&gt;
B 20 30&lt;BR /&gt;
B 40 50&lt;BR /&gt;
C 20 50&lt;BR /&gt;
C 60 80&lt;BR /&gt;
C 70&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
data op(where=(no_value is not missing));&lt;BR /&gt;
 set temp;&lt;BR /&gt;
 array n{*} no:;&lt;BR /&gt;
 do i=1 to dim(n);&lt;BR /&gt;
  no_name=vname(n{i});&lt;BR /&gt;
  no_value=n{i};&lt;BR /&gt;
  output;&lt;BR /&gt;
 end;&lt;BR /&gt;
 drop i no no2;&lt;BR /&gt;
run;&lt;BR /&gt;
proc sort data=op;&lt;BR /&gt;
 by name no_value;&lt;BR /&gt;
run;&lt;BR /&gt;
data op;&lt;BR /&gt;
 set op;&lt;BR /&gt;
 by name no_name notsorted;&lt;BR /&gt;
 length no_char $ 50;&lt;BR /&gt;
 retain no_char;&lt;BR /&gt;
 if first.no_name then call missing(no_char);&lt;BR /&gt;
 no_char=catx(',',no_char,no_value);&lt;BR /&gt;
 if no_name eq 'no' then flag+1;&lt;BR /&gt;
 if last.no_name then do;&lt;BR /&gt;
       _name=catx(',',name,flag);&lt;BR /&gt;
       output; &lt;BR /&gt;
                end;&lt;BR /&gt;
run;&lt;BR /&gt;
proc transpose data=op(keep=_name no_name no_char) out=want;&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 id no_name;&lt;BR /&gt;
 var no_char;&lt;BR /&gt;
run;&lt;BR /&gt;
data want;&lt;BR /&gt;
 set want;&lt;BR /&gt;
 name=scan(_name,1,',');&lt;BR /&gt;
 drop _name _name_;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Ksharp

Message was edited by: Ksharp</description>
      <pubDate>Tue, 03 May 2011 11:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60217#M17051</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-03T11:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60218#M17052</link>
      <description>Thank you very much Ksharp working like a charm.&lt;BR /&gt;
One more question about this. &lt;BR /&gt;
How to adjust query for column which I forgot to mention?&lt;BR /&gt;
&lt;BR /&gt;
name no date code  no2 date2 code2 &lt;BR /&gt;
&lt;BR /&gt;
Thank you again.&lt;BR /&gt;
Bob</description>
      <pubDate>Wed, 04 May 2011 07:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60218#M17052</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-05-04T07:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60219#M17053</link>
      <description>You need post some data  and what do you want output data look like.&lt;BR /&gt;
For your first post ,I do not understand this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
name no code CNT no2 code2&lt;BR /&gt;
A 20,30 sc2000,sc6000 &lt;B&gt;1&lt;/B&gt; 50 TT2000&lt;BR /&gt;
A 60 sc2000 3 80 TT0000&lt;BR /&gt;
B 20 sc2000 1 30 TT2000&lt;BR /&gt;
B 40 sc2000 2 50 TT0000&lt;BR /&gt;
C 20 sc2000 1 50 TT2000&lt;BR /&gt;
C 60,70 sc2000,sc3000 &lt;B&gt;3&lt;/B&gt; 80 TT0000&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Why A is 1 and C is 3.</description>
      <pubDate>Wed, 04 May 2011 09:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60219#M17053</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-04T09:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60220#M17054</link>
      <description>Hi&lt;BR /&gt;
It was just a count because a try to do something with that. &lt;BR /&gt;
These are a real data:&lt;BR /&gt;
name	no	date	code	no2	date2	code2&lt;BR /&gt;
A	20	1.5.2011	sc2000	50	1.5.2011	TT2000&lt;BR /&gt;
A	30	1.5.2011	sc6000	80	1.5.2011	TT0000&lt;BR /&gt;
A	60	1.5.2011	sc2000		1.5.2011	&lt;BR /&gt;
B	20	1.5.2011	sc2000	30	1.5.2011	TT2000&lt;BR /&gt;
B	40	1.5.2011	sc2000	50	1.5.2011	TT0000&lt;BR /&gt;
C	20	4.5.2011	sc2000	50	4.5.2011	TT2000&lt;BR /&gt;
C	60	4.5.2011	sc2000	80	4.5.2011	TT0000&lt;BR /&gt;
C	70	4.5.2011	sc3000		4.5.2011&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
Bob</description>
      <pubDate>Wed, 04 May 2011 10:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60220#M17054</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-05-04T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60221#M17055</link>
      <description>OK. I notice your date date2 has the same value ,So I do not process them.&lt;BR /&gt;
Look this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data temp;&lt;BR /&gt;
infile datalines truncover dsd dlm=' ';&lt;BR /&gt;
input name $ no date : mmddyy10. code $ no2 date2 : mmddyy10. code2 $;&lt;BR /&gt;
format date date2 mmddyy10.;&lt;BR /&gt;
datalines;&lt;BR /&gt;
A 20 1.5.2011 sc2000 50 1.5.2011 TT2000&lt;BR /&gt;
A 30 1.5.2011 sc6000 80 1.5.2011 TT0000&lt;BR /&gt;
A 60 1.5.2011 sc2000  1.5.2011&lt;BR /&gt;
B 20 1.5.2011 sc2000 30 1.5.2011 TT2000&lt;BR /&gt;
B 40 1.5.2011 sc2000 50 1.5.2011 TT0000&lt;BR /&gt;
C 20 4.5.2011 sc2000 50 4.5.2011 TT2000&lt;BR /&gt;
C 60 4.5.2011 sc2000 80 4.5.2011 TT0000&lt;BR /&gt;
C 70 4.5.2011 sc3000  4.5.2011&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data op(where=(no_value is not missing));&lt;BR /&gt;
 set temp;&lt;BR /&gt;
 array n{*} no:; array d{*} date:; array c{*} $ code:;&lt;BR /&gt;
 do i=1 to dim(n);&lt;BR /&gt;
  no_name=vname(n{i});date_name=vname(d{i});code_name=vname(c{i});&lt;BR /&gt;
  no_value=n{i};date_value=d{i};code_value=c{i};&lt;BR /&gt;
  output;&lt;BR /&gt;
 end;&lt;BR /&gt;
 drop i ;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
proc sort data=op;&lt;BR /&gt;
 by name no_value;&lt;BR /&gt;
run;  &lt;BR /&gt;
data op;&lt;BR /&gt;
 set op;&lt;BR /&gt;
 by name no_name notsorted;&lt;BR /&gt;
 length no_char code_char $ 50;&lt;BR /&gt;
 retain no_char code_char;&lt;BR /&gt;
 if first.no_name then call missing(no_char,code_char);&lt;BR /&gt;
 no_char=catx(',',no_char,no_value);&lt;BR /&gt;
 code_char=catx(',',code_char,code_value);&lt;BR /&gt;
&lt;BR /&gt;
 if no_name eq 'no' then flag+1;&lt;BR /&gt;
 if last.no_name then do;&lt;BR /&gt;
                       _name=catx(',',name,flag);&lt;BR /&gt;
                       output; &lt;BR /&gt;
                      end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc transpose data=op out=want1(keep=_name no no2);&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 id no_name ;&lt;BR /&gt;
 var no_char ;&lt;BR /&gt;
run; &lt;BR /&gt;
proc transpose data=op out=want2(keep=_name code code2);&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 id code_name ;&lt;BR /&gt;
 var code_char;&lt;BR /&gt;
run;  &lt;BR /&gt;
proc transpose data=op out=want3(keep=_name date date2);&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 id date_name;&lt;BR /&gt;
 var date_value;&lt;BR /&gt;
run; &lt;BR /&gt;
data want;&lt;BR /&gt;
 merge want1 want2 want3;&lt;BR /&gt;
 by _name;&lt;BR /&gt;
 format date date2 mmddyy10.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data want;&lt;BR /&gt;
 set want;&lt;BR /&gt;
 length name $ 20;&lt;BR /&gt;
 name=scan(_name,1,',');&lt;BR /&gt;
 drop _name ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
*re-order of variables;&lt;BR /&gt;
data want;&lt;BR /&gt;
 retain name no date code no2 date2 code2;&lt;BR /&gt;
 set want;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 05 May 2011 03:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60221#M17055</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-05T03:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count and merge rows.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60222#M17056</link>
      <description>Hi Ksharp&lt;BR /&gt;
That is perfect. Thank you very much for your answers. &lt;BR /&gt;
Bob</description>
      <pubDate>Thu, 05 May 2011 06:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Count-and-merge-rows/m-p/60222#M17056</guid>
      <dc:creator>bob021</dc:creator>
      <dc:date>2011-05-05T06:18:22Z</dc:date>
    </item>
  </channel>
</rss>

