<?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: DM to open another code file and reshape the window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608321#M177022</link>
    <description>&lt;P&gt;This works when running on Windows.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Make a text file to have something to test with ;
data _null_;
  file 'c:\downloads\test1.sas';
  put '*test program;' ;
run;

dm whostedit "include 'c:\downloads\test1.sas';wdef 1 122 100 120;next" ;
 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not sure if it works if you are using Display Manager on Unix, but then you cannot open two program editors on Unix anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2019 19:13:00 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-11-29T19:13:00Z</dc:date>
    <item>
      <title>DM to open another code file and reshape the window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608220#M176983</link>
      <description>&lt;P&gt;I open another (existing) code file using the first Enhanced Editor:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;dm whostedit 'include ".\FOLDER1\FILE1.sas"';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, two enhanced editors are open. I wanted to reshape the second enhanced editor (i.e., FILE1.sas), so I run the below code in the second editor.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DM 'wdef 1 122 100 120';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The process of reshaping works well as expected. But it automatically puts the first editor ahead of the second editor even though I run the code in the second editor. Put differently I expected to stay with the second editor having prompt on the second editor. Can I fix this issue? Then I can keep coding in the second editor after executing the DM statement. I hope my explanation is clear.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 10:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608220#M176983</guid>
      <dc:creator>braam</dc:creator>
      <dc:date>2019-11-29T10:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: DM to open another code file and reshape the window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608224#M176985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279507"&gt;@braam&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the &lt;A href="https://documentation.sas.com/?docsetId=lestmtsglobal&amp;amp;docsetTarget=p1puvpmmlcwvfqn1mvfkz3e0qvan.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1pkoe8lldfx4on15i3n73sorskv" target="_blank" rel="noopener"&gt;CONTINUE option&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;dm 'wdef 1 122 100 120' &lt;STRONG&gt;&lt;FONT color="#008000"&gt;continue&lt;/FONT&gt;&lt;/STRONG&gt;;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Nov 2019 11:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608224#M176985</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-11-29T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: DM to open another code file and reshape the window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608321#M177022</link>
      <description>&lt;P&gt;This works when running on Windows.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Make a text file to have something to test with ;
data _null_;
  file 'c:\downloads\test1.sas';
  put '*test program;' ;
run;

dm whostedit "include 'c:\downloads\test1.sas';wdef 1 122 100 120;next" ;
 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not sure if it works if you are using Display Manager on Unix, but then you cannot open two program editors on Unix anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 19:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DM-to-open-another-code-file-and-reshape-the-window/m-p/608321#M177022</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T19:13:00Z</dc:date>
    </item>
  </channel>
</rss>

