<?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 to close file handler?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801230#M315311</link>
    <description>&lt;P&gt;Does your problem arise in SAS? If yes, post the complete log of the failing step.&lt;/P&gt;
&lt;P&gt;If not: what kind of storage do you use for your Excel file?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 06:10:00 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-03-10T06:10:00Z</dc:date>
    <item>
      <title>How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801228#M315309</link>
      <description>&lt;P&gt;Using proc export to dump dataset into an xlsx file. It used to fine. Somehow this time it does not success.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It created a file and cannot be deleted(prompt says it is being used in SAS).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 06:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801228#M315309</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-10T06:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801229#M315310</link>
      <description>&lt;P&gt;The files created shown as vrf_summ_1100_all_2var.$$1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let outds=vrf_summ_&amp;amp;ts._all_2var;&lt;BR /&gt;proc export data=&amp;amp;outds.&lt;BR /&gt;outfile="C:\sasOUT\&amp;amp;outds..xlsx"&lt;BR /&gt;dbms=xlsx replace; run;quit;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 06:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801229#M315310</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-10T06:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801230#M315311</link>
      <description>&lt;P&gt;Does your problem arise in SAS? If yes, post the complete log of the failing step.&lt;/P&gt;
&lt;P&gt;If not: what kind of storage do you use for your Excel file?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 06:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801230#M315311</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-10T06:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801239#M315314</link>
      <description>&lt;P&gt;e... just restart SAS and the file is deleted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 06:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801239#M315314</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-10T06:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801240#M315315</link>
      <description>&lt;P&gt;Now it is fine. It used to "it is not spreadsheet or it is damaged" alike.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MPRINT(BL_SUMM): proc export data=vrf_summ_1100_all outfile="C:\Users\24891\Desktop\sasOUT\vrf_summ_1100_all.xlsx" dbms=xlsx replace; MPRINT(BL_SUMM): WXLX; MPRINT(BL_SUMM): run; NOTE: The export data set has 4752 observations and 8 variables. NOTE: "C:\Users\24891\Desktop\sasOUT\vrf_summ_1100_all.xlsx" file was successfully created. NOTE: PROCEDURE EXPORT used (Total process time): real time 0.21 seconds cpu time 0.18 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 06:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801240#M315315</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-10T06:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to close file handler?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801246#M315320</link>
      <description>&lt;P&gt;Please do always (as in&amp;nbsp;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;) post logs by copy/pasting into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;so that all formattng is kept. The "little running man" right next to it is for posting SAS code (it provides coloring similar to the SAS Enhanced Editor).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The behavior of Windows with regards to when open files are closed is erratic, to say the least. It may also be that you have some background activity (malware protection) that automatically scans Excel files when such arrive in the filesystem.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 07:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-close-file-handler/m-p/801246#M315320</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-10T07:28:17Z</dc:date>
    </item>
  </channel>
</rss>

