<?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: User wants SAS code to return to Log window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932095#M366686</link>
    <description>&lt;P&gt;The &amp;lt;DM&amp;gt; statement is IDE/GUI dependent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your program runs in Batch (hard to call it IDE, I know), SAS Enterprise Guide or SAS Studio the &amp;lt;DM&amp;gt; won't work.&lt;/P&gt;
&lt;P&gt;If your program runs in SAS Windowing Environment (aka SAS Display Manager aka SASDM) then &amp;lt;DM&amp;gt; will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So unless the user/customer you're writing about works in SASDM then the &amp;lt;DM&amp;gt; statement won't help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 07:37:49 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2024-06-13T07:37:49Z</dc:date>
    <item>
      <title>User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931846#M366605</link>
      <description>&lt;P&gt;SAS 9.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When current SAS code completes, the last window open, on top, is the "Results" window.&lt;BR /&gt;&lt;BR /&gt;User wants SAS to return to the "Log" window, programmatically.&lt;BR /&gt;&lt;BR /&gt;The answer, via searching, seems to be:&lt;BR /&gt;&lt;BR /&gt;/* Command to switch to the Log window and maximize it */&lt;BR /&gt;dm 'log; wmaximize;';&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, that doesn't seem to work.&amp;nbsp; Seems to be entirely ignored.&amp;nbsp; Top window continues to be "Results".&amp;nbsp; Even though the above command does appear in the log window (when user manually returns there, by way of mouse click on log 'tab').&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggestions greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 02:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931846#M366605</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-12T02:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931852#M366607</link>
      <description>DM statement only take effects in windowing environment, not in EG. Are you using EG(Enterprise Guide)? If so, you may need to use your mouse, there is a switch in: Tools &amp;gt; Options &amp;gt; Result</description>
      <pubDate>Wed, 12 Jun 2024 01:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931852#M366607</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2024-06-12T01:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931858#M366611</link>
      <description>&lt;P&gt;Defining a function key that both runs the code, then goes to the LOG window works for me: submit;log&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 04:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931858#M366611</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-12T04:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931866#M366613</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270406"&gt;@whymath&lt;/a&gt;&amp;nbsp;wrote the DM statement works only in Display Manager environment, i.e., this one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_0-1718177002155.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97244iC874E3A02E8612A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_0-1718177002155.png" alt="yabwon_0-1718177002155.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and as you can see in the help window, documentation confirms the fact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your code is executed in SAS Enterprise Guide, SAS Studio, or even Visual Studio Code with SAS extension, the DM wont do a thing, it will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 07:25:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/931866#M366613</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-06-12T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932078#M366678</link>
      <description>&lt;HR /&gt;
&lt;P&gt;"DM statement works only in Display Manager environment..."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What we have to do, then, is define Display Manager environment.&lt;BR /&gt;&lt;BR /&gt;Aren't all the SAS 9.4 'windows' included?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If we run a script in SAS 9.4, are we running that script in the DM environment?&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>Thu, 13 Jun 2024 02:31:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932078#M366678</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-13T02:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932080#M366680</link>
      <description>&lt;P&gt;There are three SAS-supplied development interfaces to SAS 9.4:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p0j67928u0uygqn17gi0dasyot6p.htm" target="_blank" rel="noopener"&gt;SAS Windowing Environment&lt;/A&gt; (also known as Display Manager)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://documentation.sas.com/doc/en/egcdc/8.4/egdoccdc/egug/titlepage.htm" target="_blank" rel="noopener"&gt;SAS Enterprise Guide&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://documentation.sas.com/doc/en/sasstudiocdc/3.8/webeditorcdc/sasstudioov/aboutthedoc.htm" target="_blank" rel="noopener"&gt;SAS Studio&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can run SAS scripts in any of these interfaces and also from operating system command lines as a batch job.&lt;/P&gt;
&lt;P&gt;DM statements (short for Display Manager) only work in the first interface, not the other two. I suggest you explore the above links to find out more about each interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 03:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932080#M366680</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-13T03:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932087#M366684</link>
      <description>&lt;P&gt;Yep, SAS 9.4, what I said at the outset should work, but doesn't.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Command to switch to the Log window and maximize it */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dm 'log; wmaximize;';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps give it a try in some script.&amp;nbsp; Put it at the end of the script.&lt;BR /&gt;&lt;BR /&gt;The objective is to end up with the 'Log' window on top, maximized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe DM commands do not work from scripts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 06:09:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932087#M366684</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-13T06:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932095#M366686</link>
      <description>&lt;P&gt;The &amp;lt;DM&amp;gt; statement is IDE/GUI dependent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your program runs in Batch (hard to call it IDE, I know), SAS Enterprise Guide or SAS Studio the &amp;lt;DM&amp;gt; won't work.&lt;/P&gt;
&lt;P&gt;If your program runs in SAS Windowing Environment (aka SAS Display Manager aka SASDM) then &amp;lt;DM&amp;gt; will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So unless the user/customer you're writing about works in SASDM then the &amp;lt;DM&amp;gt; statement won't help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 07:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932095#M366686</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-06-13T07:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932127#M366698</link>
      <description>&lt;P&gt;How are you running SAS?&amp;nbsp; Which application do you open when you submit SAS code?&amp;nbsp; Are you using SAS Enterprise Guide?&amp;nbsp; Or SAS Studio?&amp;nbsp; Or visual studio code (unlikely)? Or "PC SAS"? &lt;BR /&gt;&lt;BR /&gt;If you don't know, can you post a screen shot of your SAS interface, as it looks when you are viewing the log, and include all of the menus and windows on the screen?&amp;nbsp; If it looks like the picture that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35763"&gt;@yabwon&lt;/a&gt;&amp;nbsp;posted, then DM commands should work.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 13:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932127#M366698</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-06-13T13:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932266#M366734</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22691"&gt;@NKormanik&lt;/a&gt;&amp;nbsp;- Looks like you haven't read my workaround above using a function key defined as submit;log. I tried it myself and it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 19:40:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932266#M366734</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-13T19:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932340#M366760</link>
      <description>&lt;P&gt;I prefer to drag my SAS scripts from Windows Desktop (or Explorer) to the SAS Log window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One after another.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's why I would prefer PC SAS to end up with the Log window on top at the end of running a script.&amp;nbsp; Just one less hassle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932340#M366760</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-14T00:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932341#M366761</link>
      <description>&lt;P&gt;I did indeed.&amp;nbsp; Works nicely.&amp;nbsp; Thank you!&lt;BR /&gt;&lt;BR /&gt;However, I'd still prefer PC SAS end up with the Log window top-most.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Such a simple request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932341#M366761</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-14T00:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932343#M366763</link>
      <description>&lt;P&gt;Please note that the SAS Windowing Environment interface you are using is in "maintenance mode" only now and so has not been enhanced for many years. I understand the web-based interface SAS Studio does exactly what you want and that is the interface now getting all the improvements.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932343#M366763</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-14T00:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932346#M366765</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22691"&gt;@NKormanik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I did indeed.&amp;nbsp; Works nicely.&amp;nbsp; Thank you!&lt;BR /&gt;&lt;BR /&gt;However, I'd still prefer PC SAS end up with the Log window top-most.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Such a simple request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm confused, what is it you don't like?&amp;nbsp; If you assign a function key to&amp;nbsp;&lt;SPAN&gt;submit;log then the log should be top-most.&amp;nbsp; This ability to&amp;nbsp; customize windows via DM commands is one of the great features of PC SAS aka Display Manager SAS that isn't (IMHO) implemented as nicely in EG or Studio.&lt;BR /&gt;&lt;BR /&gt;You can have a function key for (logically, I didn't look up the syntax): DM zoom off;submit;log; maximize;&amp;nbsp; &amp;nbsp;You can have a function key for DM log; clear;program;submit;log;maximize.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you don't like using function keys, and prefer to click an icon (running man) when you submit, I'm pretty sure you can create and icon and have it run similar DM commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For log parsing, you can actually use DM commands to copy the content of the log window to a file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you search lexjansen.com, you'll find plenty of papers by users who have used DM commands to customize their coding environment. See e.g.&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings12/151-2012.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings12/151-2012.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Long live DM commands!&amp;nbsp; : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your complaint is that the installed default should be that SAS always shifts context to the log after a submit, I might agree with that.&amp;nbsp; But they made it so easy to configure this behavior, it's hard for me to see this as a fault.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932346#M366765</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-06-14T00:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932348#M366767</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22691"&gt;@NKormanik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I prefer to drag my SAS scripts from Windows Desktop (or Explorer) to the SAS Log window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One after another.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's why I would prefer PC SAS to end up with the Log window on top at the end of running a script.&amp;nbsp; Just one less hassle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ahh, I missed this post.&amp;nbsp; I've been using PC SAS for 25 years.&amp;nbsp; Never knew until today that if you drag a .sas file into the log window it submits the code.&amp;nbsp; That's wild.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:48:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932348#M366767</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-06-14T00:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932352#M366769</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22691"&gt;@NKormanik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I prefer to drag my SAS scripts from Windows Desktop (or Explorer) to the SAS Log window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One after another.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's why I would prefer PC SAS to end up with the Log window on top at the end of running a script.&amp;nbsp; Just one less hassle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So change your Preferences.&amp;nbsp; Unclick this box in the Results panel.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1718327564531.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97429i0E684D5FED3E5727/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tom_0-1718327564531.png" alt="Tom_0-1718327564531.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932352#M366769</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-06-14T01:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: User wants SAS code to return to Log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932365#M366777</link>
      <description>&lt;P&gt;Or even a .txt file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Easy peasy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 05:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-wants-SAS-code-to-return-to-Log-window/m-p/932365#M366777</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2024-06-14T05:44:45Z</dc:date>
    </item>
  </channel>
</rss>

