<?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: Subsetting w/ multiple where statements in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272518#M54220</link>
    <description>&lt;P&gt;Are you sure you didn't get the results mixed up?&amp;nbsp; It would make all the sense in the world to get a maximum of 300 with just one WHERE statement, but a maximum of 290 when you add a second WHERE statement.&amp;nbsp; The second WHERE statement would remove a few more observations, which could include the one that has the value of 300.&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 19:15:02 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-05-23T19:15:02Z</dc:date>
    <item>
      <title>Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272514#M54217</link>
      <description>&lt;P&gt;I am trying to create a subset w/ outliers removed&amp;nbsp;for multiple variables (Outliers are defined as &amp;gt;&amp;nbsp;1.5 x Q3 and &amp;lt;&amp;nbsp;Q1 / 1.5). My approach is to use multiple WHERE statements, but I am not getting the desired result. I am open to other approaches, but I'm also curious why this syntax is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	DATA want; 
	SET have;
 		WHERE score1 BETWEEN (1.5*Q3_score1) AND (Q1_score1/1.5);
 		WHERE SAME AND score2 BETWEEN (1.5*Q3_score2) AND (Q1_score2/1.5);
 		WHERE SAME AND score3 BETWEEN (1.5*Q3_score3) AND (Q1_score3/1.5);
	RUN;
	&lt;/PRE&gt;
&lt;P&gt;When I run this code w/ only the first where statement, the max value for score1 is 290. When I run it w/ the first and second where statements, the max value for score1 changes to 300.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aren't these statements independent? Why would one affect the other?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 18:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272514#M54217</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T18:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272516#M54218</link>
      <description>&lt;P&gt;For those ones that get excluded - between 290 and 300, do they meet the other criteria for score2/score3?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've used AND so the statements are not independent, all 3 conditions must be met.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If if you want any of the 3 use OR.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272516#M54218</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-23T19:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272517#M54219</link>
      <description>&lt;P&gt;Didn't you get the following Note in the Log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;NOTE: WHERE clause has been replaced.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;indicating that only the last WHERE clause matters?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:06:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272517#M54219</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-23T19:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272518#M54220</link>
      <description>&lt;P&gt;Are you sure you didn't get the results mixed up?&amp;nbsp; It would make all the sense in the world to get a maximum of 300 with just one WHERE statement, but a maximum of 290 when you add a second WHERE statement.&amp;nbsp; The second WHERE statement would remove a few more observations, which could include the one that has the value of 300.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272518#M54220</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-23T19:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272522#M54221</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&amp;nbsp;&amp;lt;&lt;SPAN&gt;NOTE: WHERE clause has been replaced.&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes. I saw this message, but didn't understand that it meant that&amp;nbsp;"only the last WHERE clause matters".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just to confirm, you're saying that all where statements prior to the last one are disregarded?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272522#M54221</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T19:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272524#M54222</link>
      <description>&lt;P&gt;Do a little testing as I did and you will see that this is the case. I couldn't find it confirmed in the SAS documentation though.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:21:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272524#M54222</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-23T19:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272525#M54223</link>
      <description>&lt;P&gt;You will need to inspect the exact wording in the note.&amp;nbsp; When&amp;nbsp; you use SAME AND in your WHERE clause, I would expect the note to say that the WHERE clause was AUGMENTED rather than REPLACED.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272525#M54223</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-23T19:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272527#M54225</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 want the "AND" in&amp;nbsp;the&amp;nbsp;BETWEEN...AND convention...What would be the correct syntax for making the individual WHERE statements independent from one another?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272527#M54225</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T19:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272528#M54226</link>
      <description>&lt;P&gt;Run this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
set sashelp.class;
where sex="M";
where sex="F";
run;

proc print; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 May 2016 19:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272528#M54226</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-23T19:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272530#M54227</link>
      <description>&lt;P&gt;If it's AND you want, then say AND:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WHERE score1 BETWEEN (1.5*Q3_score1) AND (Q1_score1/1.5) and 
SAME AND score2 BETWEEN (1.5*Q3_score2) AND (Q1_score2/1.5) AND
score3 BETWEEN (1.5*Q3_score3) AND (Q1_score3/1.5);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 May 2016 19:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272530#M54227</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-23T19:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272531#M54228</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;&amp;nbsp;Yes, "augmented".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;&lt;SPAN&gt;NOTE: WHERE clause has been augmented.&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you translate this note for me?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272531#M54228</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T19:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272534#M54229</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&amp;nbsp;Thanks. The point is made clearly w/ that code. Only the last WHERE statement is output,&amp;nbsp;although in that example the WHERE statement applies to the same variable, where in mine, there variables are different. Regardless, the outcome is the same when the change to code:&lt;/P&gt;
&lt;PRE&gt;data test;
set sashelp.class;
where sex="M";
where age lt 15;
run;

proc print; run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding the WHERE-SAME-AND statement eliminates the problem, but this is not what I'm after.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	data test;
	set sashelp.class;
	where sex="M";
	where same and age lt 15;
	run;&lt;/PRE&gt;
&lt;P&gt;Is there a different way to use multiple WHERE statements when subsetting? Should I chose an entirely different approach?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272534#M54229</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272536#M54230</link>
      <description>&lt;P&gt;Augmented:&amp;nbsp; The conditions from the first WHERE statement are still in effect, and the conditions from the second WHERE statement are being added as an additional set of conditions.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272536#M54230</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-23T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272542#M54232</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;&amp;nbsp;Yes, I did get them mixed up. Sorry about that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess I'm confused about how to subset w/o narrowing the dataset to meet the conditions in all the prior WHERE statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want a dataset that contains the values for each variable between the parameters outlined in the BETWEEN...AND statement. And I want the WHERE statements to be indepencent of each other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, I want all the values of score1 included if they are between 1.5*Q3 and Q1/1.5. And then separately, I want all the values of score2 included if they are between the same parameters for score2, etc..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272542#M54232</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T19:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272544#M54233</link>
      <description>&lt;P&gt;Forget the Where and use explicit IF. You'll save yourself a headache and future you will thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You wont remember the details of this the next time you encounter it and will have to recheck everything otherwise. Or at least that's what I do when I see things like that in prod code. First check to see its doing 1) what you think it's doing, 2) what the original programmer thought they were doing - which may or may not have been you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272544#M54233</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-23T20:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272545#M54234</link>
      <description>&lt;P&gt;It's not at all clear what you mean by "separately".&amp;nbsp; Do you want multiple output data sets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What should happen to an observation when SCORE1 is in range and SCORE2 is out of range?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272545#M54234</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-23T20:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272557#M54238</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;It's not at all clear what you mean by "separately".&amp;gt;&lt;/P&gt;
&lt;P&gt;Sorry. I see your confusion. I mean "independently".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"And then independently, I want all the values of score2 included if they are between the same parameters for score2, etc.."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;Do you want multiple output data sets?&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, I want one dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;What should happen to an observation when SCORE1 is in range and SCORE2 is out of range?&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If score1 is in range, it should be output to the dataset. If score2 is out of range it should not. The final dataset should only include those values that meet the BETWEEN...AND...criteria.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272557#M54238</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T20:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272560#M54240</link>
      <description>&lt;P&gt;In a SAS data set, I don't think that's one of your possible choices.&amp;nbsp; When you output an observation, all the variables are output.&amp;nbsp; You can't change that from one observation to the next.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are other things you can do.&amp;nbsp; You can set out of range values to missing before you output.&amp;nbsp; Or you can totally re-shape the data set along these lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID&amp;nbsp;&amp;nbsp; Score_variable score_value&lt;/P&gt;
&lt;P&gt;ABC&amp;nbsp; score1&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; 25&lt;/P&gt;
&lt;P&gt;ABC&amp;nbsp; score2&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; 30&lt;/P&gt;
&lt;P&gt;DEF&amp;nbsp; score2&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; 40&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there is no way to change the variables that get output from one observation to the next.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272560#M54240</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-23T20:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272561#M54241</link>
      <description>&lt;P&gt;Your observations are not independent the way your thinking of them. If both conditions are true which takes precedence?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you need to post sample data and expected output at this point to clarify your requirement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272561#M54241</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-23T20:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting w/ multiple where statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272572#M54242</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;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for all your help. I think the limitation is my understading of SAS!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm just going to output to different datasets....&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 21:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-w-multiple-where-statements/m-p/272572#M54242</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-05-23T21:12:38Z</dc:date>
    </item>
  </channel>
</rss>

