<?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: Unwanted file in the Config folder in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/816099#M24480</link>
    <description>&lt;P&gt;Please check if the path specified in the macro assignment actually exists.&lt;BR /&gt;Please note the path should exist on the machine where the code is being executed.&lt;BR /&gt;If the code is being executed on the server, then the: G:\" refers to the G driver on the server.&lt;BR /&gt;The code is syntactically correct and will go wrong if the path is incorrect. I have tested your code and it works.&lt;BR /&gt;Please post the output of the following&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let outpath=G:\Data\CXV\PGMSs\Test;
%put &amp;amp;=outpath  ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Jun 2022 19:32:42 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2022-06-01T19:32:42Z</dc:date>
    <item>
      <title>Unwanted file in the Config folder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815677#M24462</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need some help, While executing the below code in the SAS Studio environment,&lt;BR /&gt;%let outpath=G:\Data\CXV\PGMSs\Test;&lt;BR /&gt;%put &amp;amp;outpath is ;&lt;/P&gt;
&lt;P&gt;data shorts1;&lt;BR /&gt;set sashelp.cars;&lt;BR /&gt;run;&lt;BR /&gt;proc export data=shorts1&lt;BR /&gt;outfile="&amp;amp;outpath/shorts.csv"&lt;BR /&gt;dbms=csv replace;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I was getting the below error:&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist, D:\SAS\Config\Lev1\SASApp1-u8/&amp;amp;outpath/shorts.csv.&lt;BR /&gt;The files has been created in the config folder.&lt;BR /&gt;So can you help us in knowing the reason how it has been created.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Siddhartha&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 11:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815677#M24462</guid>
      <dc:creator>siddhu1</dc:creator>
      <dc:date>2022-05-30T11:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted file in the Config folder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815678#M24463</link>
      <description>Maybe it works if you use outfile="&amp;amp;outpath./shorts.csv"?&lt;BR /&gt;&lt;BR /&gt;It seems the &amp;amp;outpath is not substituted. Are there other error messages or warnings? Do you have comments that prevent execution of the code in question?</description>
      <pubDate>Mon, 30 May 2022 11:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815678#M24463</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2022-05-30T11:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted file in the Config folder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815689#M24464</link>
      <description>&lt;P&gt;Post the&amp;nbsp;&lt;EM&gt;complete&lt;/EM&gt; (all statements and messages) log from this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let outpath=G:\Data\CXV\PGMSs\Test;
%put outpath is &amp;amp;outpath.;

data shorts1;
set sashelp.cars;
run;
proc export data=shorts1
outfile="&amp;amp;outpath./shorts.csv"
dbms=csv replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;by copy/pasting it into a window opened with the &amp;lt;/&amp;gt; button.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;BIG&lt;/STRONG&gt; hint: the last message is usually the least important, but fixing the first issue can fix all others.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 19:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815689#M24464</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-01T19:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted file in the Config folder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815709#M24465</link>
      <description>&lt;P&gt;So one of two things appears to be happening.&lt;/P&gt;
&lt;P&gt;Either you actually ran the code using single quotes instead of the double quotes .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;outfile='&amp;amp;outpath/shorts.csv'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The macro processor ignores string literals bounded by single quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or the macro variable OUTPATH was not defined.&amp;nbsp; In that case you should have received a WARNING message:&lt;/P&gt;
&lt;PRE&gt;7729  %put "&amp;amp;outpath/myfile.csv";
WARNING: Apparent symbolic reference OUTPATH not resolved.
"&amp;amp;outpath/myfile.csv"
&lt;/PRE&gt;
&lt;P&gt;Either way once the operating system sees that SAS is using a RELATIVE pathname so it tries the create a file under the current working directory, which appears to be on that disk/sharename that is mounted as the&amp;nbsp; D drive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 15:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/815709#M24465</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-05-30T15:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted file in the Config folder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/816099#M24480</link>
      <description>&lt;P&gt;Please check if the path specified in the macro assignment actually exists.&lt;BR /&gt;Please note the path should exist on the machine where the code is being executed.&lt;BR /&gt;If the code is being executed on the server, then the: G:\" refers to the G driver on the server.&lt;BR /&gt;The code is syntactically correct and will go wrong if the path is incorrect. I have tested your code and it works.&lt;BR /&gt;Please post the output of the following&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let outpath=G:\Data\CXV\PGMSs\Test;
%put &amp;amp;=outpath  ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jun 2022 19:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unwanted-file-in-the-Config-folder/m-p/816099#M24480</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-06-01T19:32:42Z</dc:date>
    </item>
  </channel>
</rss>

