<?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: Covert proc sql to a data step with a embedded query in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76163#M16450</link>
    <description>Scott,&lt;BR /&gt;
Thank you for your reply.&lt;BR /&gt;
&lt;BR /&gt;
That helped a lot.&lt;BR /&gt;
&lt;BR /&gt;
Jerry</description>
    <pubDate>Tue, 03 Mar 2009 20:35:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-03-03T20:35:06Z</dc:date>
    <item>
      <title>Covert proc sql to a data step with a embedded query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76161#M16448</link>
      <description>I'm trying to take the following query and make it into a data step.&lt;BR /&gt;
&lt;BR /&gt;
select * &lt;BR /&gt;
from tblAddress&lt;BR /&gt;
where state not in (select value from tblStates )&lt;BR /&gt;
and state ne '';&lt;BR /&gt;
&lt;BR /&gt;
Is this possible with a data step?&lt;BR /&gt;
&lt;BR /&gt;
I'm new to sas and appreciate everyone for helping me learn it better.&lt;BR /&gt;
&lt;BR /&gt;
Jerry</description>
      <pubDate>Tue, 03 Mar 2009 18:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76161#M16448</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-03T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Covert proc sql to a data step with a embedded query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76162#M16449</link>
      <description>Yes.  One approach is to create a SAS file (and sort it) from your tblStates and then using the DATA step technique, merge the sorted file with your other tblAddress file, using a BY statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 03 Mar 2009 19:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76162#M16449</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-03-03T19:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Covert proc sql to a data step with a embedded query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76163#M16450</link>
      <description>Scott,&lt;BR /&gt;
Thank you for your reply.&lt;BR /&gt;
&lt;BR /&gt;
That helped a lot.&lt;BR /&gt;
&lt;BR /&gt;
Jerry</description>
      <pubDate>Tue, 03 Mar 2009 20:35:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Covert-proc-sql-to-a-data-step-with-a-embedded-query/m-p/76163#M16450</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-03T20:35:06Z</dc:date>
    </item>
  </channel>
</rss>

