<?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 How to group the data for similar values in a reverse order ? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528967#M5505</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to group "AUS Vs WI" &amp;amp; "WI Vs AUS"&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
infile datalines;
input Match $12.;
datalines;
AUS Vs WI
IND Vs SRI
AUS Vs WI
WI Vs AUS
IND Vs AUS
AUS Vs IND
SRI Vs IND
NZ Vs SA
SA Vs NZ
;
run;

proc print data=test;&lt;BR /&gt;run;











&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 03:41:39 GMT</pubDate>
    <dc:creator>krishnaalla</dc:creator>
    <dc:date>2019-01-22T03:41:39Z</dc:date>
    <item>
      <title>How to group the data for similar values in a reverse order ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528967#M5505</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to group "AUS Vs WI" &amp;amp; "WI Vs AUS"&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
infile datalines;
input Match $12.;
datalines;
AUS Vs WI
IND Vs SRI
AUS Vs WI
WI Vs AUS
IND Vs AUS
AUS Vs IND
SRI Vs IND
NZ Vs SA
SA Vs NZ
;
run;

proc print data=test;&lt;BR /&gt;run;











&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 03:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528967#M5505</guid>
      <dc:creator>krishnaalla</dc:creator>
      <dc:date>2019-01-22T03:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to group the data for similar values in a reverse order ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528969#M5506</link>
      <description>&lt;P&gt;What do you want as the output?&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/125819"&gt;@krishnaalla&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I want to group "AUS Vs WI" &amp;amp; "WI Vs AUS"&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
infile datalines;
input Match $12.;
datalines;
AUS Vs WI
IND Vs SRI
AUS Vs WI
WI Vs AUS
IND Vs AUS
AUS Vs IND
SRI Vs IND
NZ Vs SA
SA Vs NZ
;
run;

proc print data=test;&lt;BR /&gt;run;


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 03:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528969#M5506</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-22T03:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to group the data for similar values in a reverse order ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528970#M5507</link>
      <description>&lt;P&gt;i want to group the values :&lt;/P&gt;&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;AUS Vs IND&amp;nbsp; having 10 values&lt;/P&gt;&lt;P&gt;IND Vs AUS&amp;nbsp; having 15 values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;treat as a similar value and group it as one value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in need&lt;/P&gt;&lt;P&gt;IND Vs AUS count as 25 values&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 03:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528970#M5507</guid>
      <dc:creator>krishnaalla</dc:creator>
      <dc:date>2019-01-22T03:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to group the data for similar values in a reverse order ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528972#M5508</link>
      <description>&lt;PRE&gt;data want;
set test;
team1 = scan(match, 1);
team2 = scan(match, 3);
call sortc(team1, team2);
run;

proc freq data=want;
table team1*team2 / list;
run;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125819"&gt;@krishnaalla&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i want to group the values :&lt;/P&gt;
&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AUS Vs IND&amp;nbsp; having 10 values&lt;/P&gt;
&lt;P&gt;IND Vs AUS&amp;nbsp; having 15 values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;treat as a similar value and group it as one value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in need&lt;/P&gt;
&lt;P&gt;IND Vs AUS count as 25 values&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 03:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-group-the-data-for-similar-values-in-a-reverse-order/m-p/528972#M5508</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-22T03:54:28Z</dc:date>
    </item>
  </channel>
</rss>

