<?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: proc sql case - keep &amp;quot;end as&amp;quot; together when formatting code in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701302#M37716</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358374"&gt;@Paul_de_Barros&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a large PROC SQL step.&amp;nbsp; It has a SELECT statement that includes several CASE expressions, each of which obviously ends with END AS &amp;lt;variable name&amp;gt;.&amp;nbsp; When I use the Format Code command (from the Edit menu), the AS gets pushed to the following line, and the indentation gets all messed up with all of the following column names.&amp;nbsp; Is there any way to use the Format Code command without this undesired behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely not without using another tool to format a code text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've never run into any automatic code formatting program that did exactly what I wanted and I'm not about to try to write one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 18:01:52 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-11-24T18:01:52Z</dc:date>
    <item>
      <title>proc sql case - keep "end as" together when formatting code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701283#M37715</link>
      <description>&lt;P&gt;I have a large PROC SQL step.&amp;nbsp; It has a SELECT statement that includes several CASE expressions, each of which obviously ends with END AS &amp;lt;variable name&amp;gt;.&amp;nbsp; When I use the Format Code command (from the Edit menu), the AS gets pushed to the following line, and the indentation gets all messed up with all of the following column names.&amp;nbsp; Is there any way to use the Format Code command without this undesired behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 17:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701283#M37715</guid>
      <dc:creator>Paul_de_Barros</dc:creator>
      <dc:date>2020-11-24T17:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql case - keep "end as" together when formatting code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701302#M37716</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358374"&gt;@Paul_de_Barros&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a large PROC SQL step.&amp;nbsp; It has a SELECT statement that includes several CASE expressions, each of which obviously ends with END AS &amp;lt;variable name&amp;gt;.&amp;nbsp; When I use the Format Code command (from the Edit menu), the AS gets pushed to the following line, and the indentation gets all messed up with all of the following column names.&amp;nbsp; Is there any way to use the Format Code command without this undesired behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely not without using another tool to format a code text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've never run into any automatic code formatting program that did exactly what I wanted and I'm not about to try to write one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 18:01:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701302#M37716</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-24T18:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql case - keep "end as" together when formatting code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701351#M37717</link>
      <description>&lt;P&gt;What version of EG is causing this? If it is not the latest version (8.3 Update 1) you could try upgrading to see if there is any improvement. Alternatively, raise a Tech Support track and ask them if there have been any improvements.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 20:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701351#M37717</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-11-24T20:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql case - keep "end as" together when formatting code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701379#M37718</link>
      <description>&lt;P&gt;I'm using version 7.15.&amp;nbsp; I'll look into upgrading.&amp;nbsp; Thanks for the suggestion.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 21:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-case-keep-quot-end-as-quot-together-when-formatting/m-p/701379#M37718</guid>
      <dc:creator>Paul_de_Barros</dc:creator>
      <dc:date>2020-11-24T21:58:26Z</dc:date>
    </item>
  </channel>
</rss>

