<?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: SAS x  &amp;quot;command in win11 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847581#M335097</link>
    <description>&lt;P&gt;I suspect the difference is really that in the mean time you closed the other program than had the SAS file open.&amp;nbsp; That is what your original error message was about.&amp;nbsp; Perhaps you were trying to edit the program you were running?&lt;/P&gt;</description>
    <pubDate>Sat, 03 Dec 2022 16:53:56 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-12-03T16:53:56Z</dc:date>
    <item>
      <title>SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847475#M335060</link>
      <description>&lt;P&gt;I am using&amp;nbsp; command&lt;/P&gt;
&lt;P&gt;x "notepad.exe aaa.txt";&lt;/P&gt;
&lt;P&gt;in SAS data step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In win10 it ws working. In win11 it gives error&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;STRONG&gt;The process cannot access the file because it is being used by another process&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to make it working&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 18:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847475#M335060</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-02T18:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847481#M335066</link>
      <description>&lt;P&gt;If you remove SAS from the process, and submit that command on a command line, does it work?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 18:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847481#M335066</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-12-02T18:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847484#M335067</link>
      <description>&lt;P&gt;Do you have the necessary maintenance level of sas for Windows 11 (9.4 TS1M7)?&lt;/P&gt;
&lt;P&gt;What happens if you try to open the same file with a manually started Notepad while the SAS session is still running?&lt;/P&gt;
&lt;P&gt;Is the file aaa.txt created through SAS code in the same session? If yes, post the complete log from the creation of the file up to the X statement.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 18:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847484#M335067</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-12-02T18:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847486#M335068</link>
      <description>Yes on command line  command notepad.exe works&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Dec 2022 18:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847486#M335068</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-02T18:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847490#M335069</link>
      <description>&lt;P&gt;What about the command:&lt;/P&gt;
&lt;PRE&gt;notepad.exe aaa.txt&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Perhaps with a path to the text file, otherwise windows is probably assuming it's in the current directory, or some-such.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically I would try to get to the point where the exact same command works from command prompt, but doesn't work from SAS with the X statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 19:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847490#M335069</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-12-02T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847500#M335071</link>
      <description>The operation was canceled by the user.&lt;BR /&gt;MPRINT(COPY_MOD_STEP):   x "notepad.exe uja011.sas";&lt;BR /&gt;MPRINT(COPY_MOD_STEP):   run;&lt;BR /&gt;MLOGIC(COPY_MOD_STEP):  Ending execution.&lt;BR /&gt;&lt;BR /&gt;The operation was canceled by the user.&lt;BR /&gt;172   x "notepad.exe uja011.sas"&lt;BR /&gt;172!                            ;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Dec 2022 20:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847500#M335071</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-02T20:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847501#M335072</link>
      <description>&lt;P&gt;Okay, and what about my other questions?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 20:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847501#M335072</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-12-02T20:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847560#M335087</link>
      <description>&lt;P&gt;Occasionally I hafe found solution for my particular case. I was using command&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;x "notepad.exe uja011.sas";&lt;/P&gt;
&lt;P&gt;for some reason exactly that format was working in previous version of windows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the following works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;x "notepad uja011.sas";&lt;/P&gt;
&lt;P&gt;So I don't know why , but it works and for time being it is enough for me to know the working format.&lt;/P&gt;
&lt;P&gt;Thank you to all replying to my post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 07:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847560#M335087</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-03T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847562#M335088</link>
      <description>&lt;P&gt;Glad that it works for you now. May I suggest sparing a like for those having lent a helping hand? ... Just a thought to keep people motivated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;--fja&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 11:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847562#M335088</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-03T11:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847568#M335091</link>
      <description>Yr right&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Dec 2022 12:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847568#M335091</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-03T12:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847581#M335097</link>
      <description>&lt;P&gt;I suspect the difference is really that in the mean time you closed the other program than had the SAS file open.&amp;nbsp; That is what your original error message was about.&amp;nbsp; Perhaps you were trying to edit the program you were running?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 16:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847581#M335097</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-03T16:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS x  "command in win11</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847586#M335101</link>
      <description>No quite so. In fact main SAS program creates new semidocumented sas fileas copy of one previous, and opens it for additional  editing of documenting part, after closing the main SAS program continues and ends succesfully. This is to keep documented set of programs, which are later  listed in special HTML summary file</description>
      <pubDate>Sat, 03 Dec 2022 17:42:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-x-quot-command-in-win11/m-p/847586#M335101</guid>
      <dc:creator>FelixSta20</dc:creator>
      <dc:date>2022-12-03T17:42:23Z</dc:date>
    </item>
  </channel>
</rss>

