<?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: find observations exist based on conditions in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717982#M80151</link>
    <description>When process EFAMID=101, SvcDate='01/16/2013' and OpCode=12, we see the dataset has&lt;BR /&gt;101 01/14/2013 13 28.0&lt;BR /&gt;101 01/16/2013 12 60.2&lt;BR /&gt;101 01/16/2014 13 10.1&lt;BR /&gt;Since we found one OpCode=13 has same EFAMID=101 and SvcDate='01/16/2013'. Thus AssociatedOp=1.&lt;BR /&gt;For EFAMID=102, SvcDate='02/10/2013', OpCode=12, we see&lt;BR /&gt;102 02/10/2013 12 9.2&lt;BR /&gt;102 02/11/2013 13 32.1&lt;BR /&gt;Since SvcDate='02/11/2013' and OpCode=13. Thus AssociatedOp=0.&lt;BR /&gt;The input dataset (have at the example) is quite large. The solution needs to be efficient.</description>
    <pubDate>Tue, 09 Feb 2021 19:08:08 GMT</pubDate>
    <dc:creator>sas112</dc:creator>
    <dc:date>2021-02-09T19:08:08Z</dc:date>
    <item>
      <title>find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717957#M80147</link>
      <description>&lt;P&gt;My data set is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;input EFAMID $ SvcDate :mmddyy10. OpCode :$2. Pay;&lt;BR /&gt;format svcdate yymmdd10.;&lt;BR /&gt;datalines;&lt;BR /&gt;101 01/13/2013 19 30.7&lt;BR /&gt;101 01/14/2013 13 28.0&lt;BR /&gt;101 01/16/2013 12 60.2&lt;BR /&gt;101 01/16/2014 13 10.1&lt;BR /&gt;102 02/10/2013 12 9.2&lt;BR /&gt;102 02/11/2013 13 32.1&lt;BR /&gt;102 02/12/2013 14 17.5&lt;BR /&gt;102 02/13/2013 15 10.2&lt;BR /&gt;102 02/18/2013 14 12.3&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At data step, I get its EFAMID and SvcDate values when process OpCode=12. Then I like to check whether the same EFAMID and SvcDate have OpCode = 13 observations. If yes, a new column AssociatedOp = 1. Otherwise, AssociatedOp = 0. For example, for EFAMID=101, its OpCode=12 has SvcDate='01/16/2013'. Using EFAMID=101 and SvcDate='01/16/2013', we find a observation (101 '01/16/2014' 13 10.1) OpCode=13 at the same day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, AssociatedOp=1. The final data set would be&amp;nbsp;&lt;/P&gt;&lt;P&gt;EFAMID&amp;nbsp; &amp;nbsp;SvcDate&amp;nbsp; &amp;nbsp;OpCode&amp;nbsp; &amp;nbsp;Pay&amp;nbsp; &amp;nbsp;AssociatedOp&lt;/P&gt;&lt;P&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/13/2013&amp;nbsp; &amp;nbsp; 19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30.7&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/14/2013&amp;nbsp; &amp;nbsp; 13&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;28.0&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/16/2013&amp;nbsp; &amp;nbsp; 12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60.2&amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/16/2014&amp;nbsp; &amp;nbsp; 13&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.1&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/10/2013&amp;nbsp; &amp;nbsp; 12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9.2&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/11/2013&amp;nbsp; &amp;nbsp; &amp;nbsp;13&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 32.1&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/12/2013&amp;nbsp; &amp;nbsp; &amp;nbsp;14&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17.5&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/13/2013&amp;nbsp; &amp;nbsp; &amp;nbsp;15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10.2&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/18/2013&amp;nbsp; &amp;nbsp; &amp;nbsp;14&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12.3&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do that at data step? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 17:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717957#M80147</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T17:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717961#M80148</link>
      <description>&lt;P&gt;I don't get the algorithm.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like your result is true only when OPCODE='12' and there was a previous observation for this EFAMID that had OPCODE='13'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want ;
  any13=0;
  do until(last.efamid);
    set have;
    by efamid svcdate ;
    if opcode='13' then any13=1;
    AssociatedOp = opcode='12' and any13 ;
    output;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;                                         Op             Associated
Obs    any13    EFAMID       SvcDate    Code     Pay        Op

 1       0       101      2013-01-13     19     30.7         0
 2       1       101      2013-01-14     13     28.0         0
 3       1       101      2013-01-16     12     60.2         1
 4       1       101      2014-01-16     13     10.1         0
 5       0       102      2013-02-10     12      9.2         0
 6       1       102      2013-02-11     13     32.1         0
 7       1       102      2013-02-12     14     17.5         0
 8       1       102      2013-02-13     15     10.2         0
 9       1       102      2013-02-18     14     12.3         0
&lt;/PRE&gt;
&lt;P&gt;What about OPCODE='12' and OPCODE='13' on the same date?&amp;nbsp; Should the sort order be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;    by efamid svcdate descending opcode;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What if there were multiple OPCODE='12' observations and only one earlier OPCODE='13' observation? Are they all true?&lt;/P&gt;
&lt;P&gt;What about if instead there was an OPCODE='13' observation on a future date?&amp;nbsp; Would that mean the earlier OPCODE='12' record is also flagged with true?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 17:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717961#M80148</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-09T17:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717964#M80149</link>
      <description>&lt;P&gt;I only care about the AssociatedOp column when OpCode=12. For each EFAMID, there is only one observation with OpCode=12. When OpCode=12, I need to use its EFAMID and SvcDate at that observation and then find whether there are OpCode=13. If observations with OpCode=13 has different EFAMID or SvcDate, the AssociatedOp should be zero.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 18:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717964#M80149</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T18:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717973#M80150</link>
      <description>&lt;P&gt;Then your current example answer is wrong.&amp;nbsp; The one OPCODE='12' you have flagged as true has an OPCODE='13' on a different date.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 18:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717973#M80150</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-09T18:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717982#M80151</link>
      <description>When process EFAMID=101, SvcDate='01/16/2013' and OpCode=12, we see the dataset has&lt;BR /&gt;101 01/14/2013 13 28.0&lt;BR /&gt;101 01/16/2013 12 60.2&lt;BR /&gt;101 01/16/2014 13 10.1&lt;BR /&gt;Since we found one OpCode=13 has same EFAMID=101 and SvcDate='01/16/2013'. Thus AssociatedOp=1.&lt;BR /&gt;For EFAMID=102, SvcDate='02/10/2013', OpCode=12, we see&lt;BR /&gt;102 02/10/2013 12 9.2&lt;BR /&gt;102 02/11/2013 13 32.1&lt;BR /&gt;Since SvcDate='02/11/2013' and OpCode=13. Thus AssociatedOp=0.&lt;BR /&gt;The input dataset (have at the example) is quite large. The solution needs to be efficient.</description>
      <pubDate>Tue, 09 Feb 2021 19:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717982#M80151</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T19:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717991#M80152</link>
      <description>&lt;P&gt;So which of the two SVDATES has the typo in yoru example?&amp;nbsp; Is the day of month wrong in the first one or is the year wrong in the last one?&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;101 01/&lt;FONT color="#FF0000"&gt;14&lt;/FONT&gt;/2013 13 28.0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;101 01/16/2013 12 60.2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;101 01/16/&lt;FONT color="#FF0000"&gt;2014&lt;/FONT&gt; 13 10.1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 19:51:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717991#M80152</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-09T19:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717998#M80153</link>
      <description>&lt;P&gt;Since I am quite new to SAS programming, my question could be summarized to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Data Want;&lt;BR /&gt;set have;&lt;BR /&gt;AssociatedOp=0;&lt;BR /&gt;if OpCode=12 then AssociatedOp = hasAssociatedOp(EFAMID, SvcDate);&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;How do I create a function 'hasAssociatedOp' which accepts two arguments, EFAMID and SvcDate? If there is one observation at dataset 'have' which matches the EFAMID, SvcDate and OpCode=13, it will return 1. Otherwise return 0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/717998#M80153</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718002#M80154</link>
      <description>Thanks point out. You can change either one to match 01/16/2013. I am sorry I didn't notice that.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718002#M80154</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T20:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718019#M80158</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/367342"&gt;@sas112&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Since I am quite new to SAS programming, my question could be summarized to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Data Want;&lt;BR /&gt;set have;&lt;BR /&gt;AssociatedOp=0;&lt;BR /&gt;if OpCode=12 then AssociatedOp = hasAssociatedOp(EFAMID, SvcDate);&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;How do I create a function 'hasAssociatedOp' which accepts two arguments, EFAMID and SvcDate? If there is one observation at dataset 'have' which matches the EFAMID, SvcDate and OpCode=13, it will return 1. Otherwise return 0.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you literally wanted to make something like that then look at using HASH object.&amp;nbsp; But that is overly complicated and requires that you load data into the hash object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could adapt my original suggested data step to your clarified requirements.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  input EFAMID $ SvcDate :mmddyy10. OpCode :$2. Pay;
  format svcdate yymmdd10.;
datalines;
101 01/13/2013 19 30.7
101 01/16/2013 13 28.0
101 01/16/2013 12 60.2
101 01/16/2014 13 10.1
102 02/10/2013 12 9.2
102 02/11/2013 13 32.1
102 02/12/2013 14 17.5
102 02/13/2013 15 10.2
102 02/18/2013 14 12.3
;

proc sort data=have;
  by efamid svcdate descending opcode;
run;
data want ;
  any13=0;
  do until(last.svcdate);
    set have;
    by efamid svcdate descending opcode;
    if opcode='13' then any13=1;
    AssociatedOp = opcode='12' and any13 ;
    output;
  end;
  drop any13;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Results:&lt;/P&gt;
&lt;PRE&gt;                                Op             Associated
Obs    EFAMID       SvcDate    Code     Pay        Op

 1      101      2013-01-13     19     30.7         0
 2      101      2013-01-16     13     28.0         0
 3      101      2013-01-16     12     60.2         1
 4      101      2014-01-16     13     10.1         0
 5      102      2013-02-10     12      9.2         0
 6      102      2013-02-11     13     32.1         0
 7      102      2013-02-12     14     17.5         0
 8      102      2013-02-13     15     10.2         0
 9      102      2013-02-18     14     12.3         0&lt;/PRE&gt;
&lt;P&gt;Or you could pull out the OPCODE='13' records and remerge those records with the original data by EFAMID and SVCDATE.&amp;nbsp; Then you could test whether you have both 12 and 13 on the same date.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want ;
  merge have
     have(keep=efamid svcdate opcode
          rename=(opcode=opcode13) 
          where=(opcode13='13')
         ) 
  ;
  by efamid svcdate;
  AssociatedOp = (opcode='12' and opcode13='13');
  drop opcode13;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718019#M80158</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-09T21:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718020#M80159</link>
      <description>&lt;P&gt;Hi, does the below fulfil your purpose, for every obs where opcode =12, if the Svcdate and efamid are the same for opcode=13, the flag should turn 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input EFAMID $ SvcDate :mmddyy10. OpCode :$2. Pay;&lt;BR /&gt;format svcdate yymmdd10.;&lt;BR /&gt;datalines;&lt;BR /&gt;101 01/13/2013 19 30.7&lt;BR /&gt;101 01/16/2013 13 28.0&lt;BR /&gt;101 01/16/2013 12 60.2&lt;BR /&gt;101 01/16/2014 13 10.1&lt;BR /&gt;102 02/10/2013 12 9.2&lt;BR /&gt;102 02/11/2013 13 32.1&lt;BR /&gt;102 02/12/2013 14 17.5&lt;BR /&gt;102 02/13/2013 15 10.2&lt;BR /&gt;102 02/18/2013 14 12.3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=have out=have1;&lt;BR /&gt;by EFAMID opcode;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data have2 (drop=efamid_12 SvcDate_12);&lt;BR /&gt;set have1;&lt;BR /&gt;by efamid opcode;&lt;BR /&gt;retain efamid_12 SvcDate_12;&lt;BR /&gt;format SvcDate_12 yymmdd10.;&lt;/P&gt;&lt;P&gt;if first.opcode then&lt;BR /&gt;do;&lt;BR /&gt;if opcode = '12' then&lt;BR /&gt;do;&lt;BR /&gt;efamid_12 = efamid;&lt;BR /&gt;SvcDate_12 = SvcDate;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;if opcode = 13 then&lt;BR /&gt;do;&lt;BR /&gt;if efamid_12 = efamid and SvcDate_12 = SvcDate then&lt;BR /&gt;AssociatedOp = 1;&lt;BR /&gt;else AssociatedOp = 0;&lt;BR /&gt;end;&lt;BR /&gt;else&lt;BR /&gt;do;&lt;BR /&gt;AssociatedOp = 0;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718020#M80159</guid>
      <dc:creator>qoit</dc:creator>
      <dc:date>2021-02-09T20:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718041#M80162</link>
      <description>The logics should work. But dataset 'have' may have around 10 million observations. If I merge, does it perform well?</description>
      <pubDate>Tue, 09 Feb 2021 21:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718041#M80162</guid>
      <dc:creator>sas112</dc:creator>
      <dc:date>2021-02-09T21:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: find observations exist based on conditions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718050#M80163</link>
      <description>&lt;P&gt;It should not be that bad.&amp;nbsp; Since you are reading the same disk file in the same order the blocks of data should already be cached. 10 Million is not a large number and a data step does not require that the whole dataset be loaded into memory.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 22:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/find-observations-exist-based-on-conditions/m-p/718050#M80163</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-09T22:25:30Z</dc:date>
    </item>
  </channel>
</rss>

