<?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: How to control the editior window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176594#M33818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RW9,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want save my code on same share location, Which is a server location, that server location I cant save with just control+s. I need to pass the path, hence I am doing with DM statemnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 10:53:05 GMT</pubDate>
    <dc:creator>dishant</dc:creator>
    <dc:date>2014-08-27T10:53:05Z</dc:date>
    <item>
      <title>How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176592#M33816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AsI am using SAS DM Staement to save the SAS code In SAS 9.4, the automatically SAS editior window is opening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how we can control that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the example of DM statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to save the code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dm wedit 'file "C:\Users\DParikh\Desktop\test.sas"';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am running this code its save the code but in SAS it's opening another editior window, how we can control it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dishant &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176592#M33816</guid>
      <dc:creator>dishant</dc:creator>
      <dc:date>2014-08-27T09:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176593#M33817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify what you are doing, with some examples.&amp;nbsp; Why would you want to have code to save your code at run-time, just control+s.&amp;nbsp; If you are trying to include code then use the %include syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 10:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176593#M33817</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-27T10:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176594#M33818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RW9,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want save my code on same share location, Which is a server location, that server location I cant save with just control+s. I need to pass the path, hence I am doing with DM statemnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 10:53:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176594#M33818</guid>
      <dc:creator>dishant</dc:creator>
      <dc:date>2014-08-27T10:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176595#M33819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I still don't understand.&amp;nbsp; The DM statement has no specific tricks to do something that the Save or Save As functions would give you.&amp;nbsp; Are you saying that you do not have a network drive mapped, then that would be the root of the issue.&amp;nbsp; So, if I have a code file ope in Enhanced Editor, I goto File-&amp;gt;Save (as) then post your network path into the filename box, and it should goto that area.&amp;nbsp; Then type you file in.&lt;/P&gt;&lt;P&gt;Alternatively get a network path mapped to a drive letter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 10:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176595#M33819</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-27T10:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176596#M33820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for bad Explanation above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Code, I want to save code on Share Point (Server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't specify that location in the option of control+s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, I need to use DM satement to save the code with passing the Share Point (server) location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence its working fine, moreover while runing DM statement, Next Editior window (Editioe untitle2) is opening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is how to control&amp;nbsp; it?(How to aviod to open the another editior window?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will understand now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 11:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176596#M33820</guid>
      <dc:creator>dishant</dc:creator>
      <dc:date>2014-08-27T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176597#M33821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TBH I wouldn't recommend storing source code on a document management system in any situation.&amp;nbsp; If you are after version control, then for free there is (Tortoise)SVN and GIT, plus SAS have a solution etc. &lt;/P&gt;&lt;P&gt;If you do need to connect to SharePoint, then that is simple, its just a network path much like any other, I have a few SharePoint areas mapped to network drives so I can read documents directly from them.&amp;nbsp; You may need to check with your IT what the exact path/admin items are, e.g. for me, I goto SharePoint and in the URL bar, I can copy the text, drop the http:, and any information after the path and then use that as the connection, user information is supplied behind the scenes.&lt;/P&gt;&lt;P&gt;As I mentioned before I wouldn't recommend saving code via code - what happens if something goes wrong for instance? &lt;/P&gt;&lt;P&gt;As to your question of how to avoid it opening another editor window, you are using the wedit command which is inbuilt into SAS to open a new window, I don't think you will get round that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176597#M33821</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-27T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the editior window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176598#M33822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check how to connect to sharepoint first. &lt;BR /&gt;As it not an direct editor option&amp;nbsp; it could get to some function when you are getting a filename access working.&amp;nbsp; Walk before you run.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/225656"&gt;https://communities.sas.com/message/225656&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-control-the-editior-window/m-p/176598#M33822</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-27T12:07:32Z</dc:date>
    </item>
  </channel>
</rss>

