<?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: If x has more than one y associated with it, make it into a list in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281205#M56978</link>
    <description>&lt;P&gt;One of the issues to consider is whether the same Case_Group_Name could appear multiple times within the same State.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Case_Group_Name / State combinations are unique, the suggested solution will work.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 18:25:53 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-06-29T18:25:53Z</dc:date>
    <item>
      <title>If x has more than one y associated with it, make it into a list</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281180#M56963</link>
      <description>&lt;P&gt;I'm trying to sort my data the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Case_Group_Name (x) and State (y). I want the list of the Case_Group_Names if they are located in multiple states. The Case_Group_Names with only one state I want deleted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking this is a proc sort procedure, but I'm not sure how to go about it; I just started out using SAS. Thanks you.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281180#M56963</guid>
      <dc:creator>jdmarks3</dc:creator>
      <dc:date>2016-06-29T17:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: If x has more than one y associated with it, make it into a list</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281199#M56974</link>
      <description>&lt;P&gt;If I understand&amp;nbsp;your question, try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc sort data = in;
  by x;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data multi;&lt;BR /&gt;  set in;&lt;BR /&gt;  by x;&lt;BR /&gt;  if not( first.x &amp;amp; last.x );&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281199#M56974</guid>
      <dc:creator>sh0e</dc:creator>
      <dc:date>2016-06-29T18:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: If x has more than one y associated with it, make it into a list</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281205#M56978</link>
      <description>&lt;P&gt;One of the issues to consider is whether the same Case_Group_Name could appear multiple times within the same State.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Case_Group_Name / State combinations are unique, the suggested solution will work.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-x-has-more-than-one-y-associated-with-it-make-it-into-a-list/m-p/281205#M56978</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-06-29T18:25:53Z</dc:date>
    </item>
  </channel>
</rss>

