<?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: DLCREATEDIR defect in SAS9.4M5 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601091#M173823</link>
    <description>&lt;P&gt;I strongly suggest that you look very closely at all of the permissions on both machines. Even though you are an "admin" it may be that on one you can't create directory from the root C drive.&lt;/P&gt;
&lt;P&gt;On the machine that gives you problems can you open a command prompt and create directory from a C:\ prompt?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or that the sessions your SAS runs in have different permissions (less likely).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2019 20:44:58 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-11-01T20:44:58Z</dc:date>
    <item>
      <title>DLCREATEDIR defect in SAS9.4M5</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601086#M173821</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Windows 10 with SAS 9.4M5--I have two DLCREATEDIR scenarios. One works. The other issues an authorization error on two different PCs where I am admin. You can just run the code snippet with sashelp.cars. Delete the c:\foo directory between each execution.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Scenario 1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;options dlcreatedir;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;libname foo 'c:\foo';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc export data=sashelp.cars&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;outfile='c:\foo\gibberish.tab'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;dbms=tab&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;replace;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Scenario 2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;options dlcreatedir;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let output_path="c:\foo_&amp;amp;sysdate";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let output_type=tab;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;libname foo &amp;amp;output_path;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc export data=sashelp.cars&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;outfile=&amp;amp;output_path&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;dbms=&amp;amp;output_type &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;replace;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yields.....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Insufficient authorization to access c:\foo_01NOV19.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 1 observations read from the data set SASHELP.CARS.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.06 seconds&lt;BR /&gt;cpu time 0.06 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot find reference to this anywhere.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 20:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601086#M173821</guid>
      <dc:creator>wjmetcalfiii</dc:creator>
      <dc:date>2019-11-01T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Disregard:  DLCREATEDIR defect in SAS9.4M5</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601090#M173822</link>
      <description>&lt;P&gt;Geez. My error! Scenario 2 needs a filename. How silly. Please disregard. Not enough coffee.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 20:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601090#M173822</guid>
      <dc:creator>wjmetcalfiii</dc:creator>
      <dc:date>2019-11-01T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: DLCREATEDIR defect in SAS9.4M5</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601091#M173823</link>
      <description>&lt;P&gt;I strongly suggest that you look very closely at all of the permissions on both machines. Even though you are an "admin" it may be that on one you can't create directory from the root C drive.&lt;/P&gt;
&lt;P&gt;On the machine that gives you problems can you open a command prompt and create directory from a C:\ prompt?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or that the sessions your SAS runs in have different permissions (less likely).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 20:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DLCREATEDIR-defect-in-SAS9-4M5/m-p/601091#M173823</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-01T20:44:58Z</dc:date>
    </item>
  </channel>
</rss>

