<?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: Deleting LASR records using proc imstat with Merge statement. in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Deleting-LASR-records-using-proc-imstat-with-Merge-statement/m-p/419495#M8926</link>
    <description>&lt;P&gt;Got the solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Storing all unique values in macro variable and passing in where clause of proc imstat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc imstat = lasrlib.A;&lt;/P&gt;&lt;P&gt;where column = &amp;amp;macro;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;deleterows / purge;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 08:46:29 GMT</pubDate>
    <dc:creator>jitinsethi07</dc:creator>
    <dc:date>2017-12-08T08:46:29Z</dc:date>
    <item>
      <title>Deleting LASR records using proc imstat with Merge statement.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Deleting-LASR-records-using-proc-imstat-with-Merge-statement/m-p/419082#M8901</link>
      <description>&lt;P&gt;1) I have a dataset A (having millions of records) in LASR library.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Importing B file with few hundred rows.&lt;/P&gt;&lt;P&gt;3) Need to compare A and B and delete common records from A (lasr library) without creating a temporary copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;Using imstat statement--(not working)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc imstat data=LASRLIB.A;&lt;BR /&gt;merge LASRLIB.A (in=a)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; (in=b);&lt;BR /&gt;if a and b;&lt;BR /&gt;run;&lt;BR /&gt;deleterows / purge;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note: Merge not working with proc imstat.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to do it?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 06:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Deleting-LASR-records-using-proc-imstat-with-Merge-statement/m-p/419082#M8901</guid>
      <dc:creator>jitinsethi07</dc:creator>
      <dc:date>2017-12-07T06:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting LASR records using proc imstat with Merge statement.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Deleting-LASR-records-using-proc-imstat-with-Merge-statement/m-p/419495#M8926</link>
      <description>&lt;P&gt;Got the solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Storing all unique values in macro variable and passing in where clause of proc imstat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc imstat = lasrlib.A;&lt;/P&gt;&lt;P&gt;where column = &amp;amp;macro;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;deleterows / purge;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 08:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Deleting-LASR-records-using-proc-imstat-with-Merge-statement/m-p/419495#M8926</guid>
      <dc:creator>jitinsethi07</dc:creator>
      <dc:date>2017-12-08T08:46:29Z</dc:date>
    </item>
  </channel>
</rss>

