<?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 Setting default logdir for bulkoad option forrelational database in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589950#M14972</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When user use the bulkload or bulkunload option, they do not set the logdir option which results in nzlogs being saved in the server C:\. I need to set a default directory for these nzlog files so that even though users do not specify a location, it is saved in their work directory H:\temp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if they specified the logdir, the code would be similar to this:&lt;/P&gt;&lt;PRE class="xis-codeFragment"&gt;proc sql;
create table net_air.flights98
       (bulkload=YES bl_options="logdir 'H:\'")
        as select * from sasflt.flt98;
quit;&lt;/PRE&gt;&lt;P&gt;So I need a way of setting the logdir by default in a config file I guess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details abour the bulkload and bulkunload options below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n119slgt394onmn12yd81pyytvin.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n119slgt394onmn12yd81pyytvin.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 08:11:36 GMT</pubDate>
    <dc:creator>OGA</dc:creator>
    <dc:date>2019-09-19T08:11:36Z</dc:date>
    <item>
      <title>Setting default logdir for bulkoad option forrelational database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589950#M14972</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When user use the bulkload or bulkunload option, they do not set the logdir option which results in nzlogs being saved in the server C:\. I need to set a default directory for these nzlog files so that even though users do not specify a location, it is saved in their work directory H:\temp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if they specified the logdir, the code would be similar to this:&lt;/P&gt;&lt;PRE class="xis-codeFragment"&gt;proc sql;
create table net_air.flights98
       (bulkload=YES bl_options="logdir 'H:\'")
        as select * from sasflt.flt98;
quit;&lt;/PRE&gt;&lt;P&gt;So I need a way of setting the logdir by default in a config file I guess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details abour the bulkload and bulkunload options below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n119slgt394onmn12yd81pyytvin.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n119slgt394onmn12yd81pyytvin.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 08:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589950#M14972</guid>
      <dc:creator>OGA</dc:creator>
      <dc:date>2019-09-19T08:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting default logdir for bulkoad option forrelational database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589970#M14978</link>
      <description>BL_OPTIONS as used here is a data set option. As far as I know it is not possible to set such an option in the sas configuration file.</description>
      <pubDate>Thu, 19 Sep 2019 09:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589970#M14978</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2019-09-19T09:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting default logdir for bulkoad option forrelational database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589974#M14979</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Is there any other way to achive what I intend? ie, prevent users from creating logs in the C:\ directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 09:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/589974#M14979</guid>
      <dc:creator>OGA</dc:creator>
      <dc:date>2019-09-19T09:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting default logdir for bulkoad option forrelational database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/645120#M22021</link>
      <description>&lt;P&gt;Writing to C:\ is not a good default setting.&lt;/P&gt;
&lt;P&gt;Asking for a global way to alter this sounds like a good idea. Make a proposal in the &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_self"&gt;SASware&lt;/A&gt; ballot.&lt;/P&gt;
&lt;P&gt;On the other hand, C:\ is often kept off-limit to users by the OS settings. You could check that.&lt;/P&gt;
&lt;P&gt;Failing this, a regular deletion of the files can probably be scheduled.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 22:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Setting-default-logdir-for-bulkoad-option-forrelational-database/m-p/645120#M22021</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-04T22:12:26Z</dc:date>
    </item>
  </channel>
</rss>

