<?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: END =  in PROC SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676673#M204056</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;It is part of the syntax of CASE WHEN expressions. &lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=sqlproc&amp;amp;docsetTarget=n0a85s0ijz65irn1h3jtariooea5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=sqlproc&amp;amp;docsetTarget=n0a85s0ijz65irn1h3jtariooea5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here, the join is made on the condition that the variable defined by "CASE WHEN ... END" is equal to (uppercased) preunit.</description>
    <pubDate>Fri, 14 Aug 2020 10:02:19 GMT</pubDate>
    <dc:creator>gamotte</dc:creator>
    <dc:date>2020-08-14T10:02:19Z</dc:date>
    <item>
      <title>END =  in PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676670#M204054</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I have a program part with proc SQL in my code, but I don't understand one particular part from that SQL code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="webart999ARM_1-1597398741334.png" style="width: 759px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48218i8BF4368D76C281C0/image-dimensions/759x197?v=v2" width="759" height="197" role="button" title="webart999ARM_1-1597398741334.png" alt="webart999ARM_1-1597398741334.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could anyone please help me to understand for what is responsible above highlighted &lt;STRONG&gt;END=&lt;/STRONG&gt; part in this SQL query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 09:54:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676670#M204054</guid>
      <dc:creator>webart999ARM</dc:creator>
      <dc:date>2020-08-14T09:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: END =  in PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676673#M204056</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;It is part of the syntax of CASE WHEN expressions. &lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=sqlproc&amp;amp;docsetTarget=n0a85s0ijz65irn1h3jtariooea5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=sqlproc&amp;amp;docsetTarget=n0a85s0ijz65irn1h3jtariooea5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here, the join is made on the condition that the variable defined by "CASE WHEN ... END" is equal to (uppercased) preunit.</description>
      <pubDate>Fri, 14 Aug 2020 10:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676673#M204056</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2020-08-14T10:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: END =  in PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676709#M204067</link>
      <description>&lt;P&gt;The END marks the end of the CASE.&amp;nbsp; The equal sign is an equality test.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your ON conditions are using CASE to recode A.LPARM and A.PREUNIT on the fly and compare the results to B.PARM and B.PREUNIT respectively.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 12:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/END-in-PROC-SQL/m-p/676709#M204067</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-14T12:34:02Z</dc:date>
    </item>
  </channel>
</rss>

