<?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 do I Executing DOS Commands in BASE SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427414#M105394</link>
    <description>&lt;P&gt;And check if you have XCMD enabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc options option =xcmd; run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don’t have xcmd enabled you can’t execute system commands.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2018 03:49:43 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-01-13T03:49:43Z</dc:date>
    <item>
      <title>How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427406#M105387</link>
      <description>&lt;P&gt;Hello can someone assist me&amp;gt;&lt;/P&gt;&lt;P&gt;using the code below I am trying to do a file compare of 2 SAS programs to review the changes.&lt;/P&gt;&lt;P&gt;My issue is that the output file is not created.&amp;nbsp; But when I run the FC command line from DOS it works.&lt;/P&gt;&lt;P&gt;How would I write this to make it work&amp;nbsp;in BASE&amp;nbsp;SAS.&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;do&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; fc &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"R:\Programs_files.sas T:\Programs_files.sas &amp;gt; R:\changes.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 01:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427406#M105387</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T01:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427407#M105388</link>
      <description>&lt;P&gt;First, note that X is a SAS statement, but not a DATA step statement.&amp;nbsp; If you had a working X command, you could issue just the one line program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"R:\Programs_files.sas T:\Programs_files.sas &amp;gt; R:\changes.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the X command requires that its argument be in quotes.&amp;nbsp; In this case, you could simply add the quotes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;'&lt;/SPAN&gt;fc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"R:\Programs_files.sas T:\Programs_files.sas &amp;gt; R:\changes.txt"'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possibility here would be to switch from X to %SYSEXEC, which performs similar functions but does not requires quotes::&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysexec&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"R:\Programs_files.sas T:\Programs_files.sas &amp;gt; R:\changes.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 02:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427407#M105388</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-13T02:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427409#M105390</link>
      <description>&lt;P&gt;I have tried both solutions but nether of them create a text output file.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 02:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427409#M105390</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T02:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427410#M105391</link>
      <description>&lt;P&gt;I'm not too familiar with DOS commands, but this syntax strikes me as strange:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysexec&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"R:\Programs_files.sas T:\Programs_files.sas &amp;gt; R:\changes.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shouldn't it look more like this (or some other similar variation such as no quotes at all)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysexec&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"R:\Programs_files.sas T:\Programs_files.sas" &amp;gt; "R:\changes.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 02:22:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427410#M105391</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-13T02:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427412#M105392</link>
      <description>&lt;P&gt;the extra set of quotes doesn't resolve and create an output text file.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 02:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427412#M105392</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T02:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427413#M105393</link>
      <description>&lt;P&gt;Post the exact code you submitted from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 03:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427413#M105393</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-13T03:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427414#M105394</link>
      <description>&lt;P&gt;And check if you have XCMD enabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc options option =xcmd; run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don’t have xcmd enabled you can’t execute system commands.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 03:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427414#M105394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-13T03:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427419#M105398</link>
      <description>&lt;P&gt;these are the code I have used after the replies for help&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;options&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;option&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =xcmd; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;do&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'fc /n"R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas &amp;gt; R:\vdd_changes.txt"'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%sysexec&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; fc &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas &amp;gt; R:\vdd_changes.tx"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 05:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427419#M105398</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T05:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427423#M105400</link>
      <description>&lt;P&gt;when I run the type the code on a DOS command line it works&lt;/P&gt;&lt;P&gt;and I get a file that contains this information.&amp;nbsp; I would like to run&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;fc &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas &amp;gt; R:\vdd_changes.txt from a SAS session and use a macro for the filenames.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Comparing files R:\PROGRAMS_DRA2009\DOWNLOAD\get_tanf_files.sas and T:\PROGRAMS_DRA2009\DOWNLOAD\GET_TANF_FILES.SAS&lt;BR /&gt;***** R:\PROGRAMS_DRA2009\DOWNLOAD\get_tanf_files.sas&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 81:&amp;nbsp; *&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 82:&amp;nbsp; ***************************************************;&lt;BR /&gt;***** T:\PROGRAMS_DRA2009\DOWNLOAD\GET_TANF_FILES.SAS&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 81:&amp;nbsp; *&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 82:&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/12/2018 changed the filepath from \\dshsapoly80801\tanf_report&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 83:&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to \\dshs\rda\tanf2018 in the libname statement and&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 84:&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the renaming process. (M. Harris)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 85:&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 86:&amp;nbsp; ***************************************************;&lt;BR /&gt;*****&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 05:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427423#M105400</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T05:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427424#M105401</link>
      <description>&lt;P&gt;I have also used this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%sysexec&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'fc "R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas &amp;gt; R:\vdd_changes.txt"'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;and this&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%sysexec&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'fc "R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas" &amp;gt; "R:\vdd_changes.txt"'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 05:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427424#M105401</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T05:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427426#M105403</link>
      <description>&lt;P&gt;Output from PROC OPTIONS? I suspect XCMD is enabled to allow you to run these types of commands.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EG has this turned off by default.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 05:58:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427426#M105403</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-13T05:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427427#M105404</link>
      <description>&lt;P&gt;Can you assist in telling me how to get EG to turn it on, or is there an option to turn it on in EG.&lt;/P&gt;&lt;P&gt;I use Base SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 06:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427427#M105404</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-01-13T06:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427434#M105409</link>
      <description>&lt;P&gt;To see if a command executed on the OS works, do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe 'fc /n R:\Programs_DRA2009\download\get_tanf_files.sas T:\Programs_DRA2009\download\get_tanf_files.sas 2&amp;gt;&amp;amp;1';

data _null_;
infile oscmd;
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will catch all output (stdout and stderr) and write it to the SAS log.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 08:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427434#M105409</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-13T08:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Executing DOS Commands in BASE SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427492#M105446</link>
      <description>Hi:&lt;BR /&gt;I think that only your SAS Administrator can enable X commands for you. This is typically something that the Admin controls.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 14 Jan 2018 00:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Executing-DOS-Commands-in-BASE-SAS/m-p/427492#M105446</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-01-14T00:49:39Z</dc:date>
    </item>
  </channel>
</rss>

