<?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: in memory/work/pc path in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804610#M316866</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask a question about export SAS data set into XLSX file.&lt;/P&gt;
&lt;P&gt;What is the difference between:&lt;/P&gt;
&lt;P&gt;1- save the file in memory ?&lt;/P&gt;
&lt;P&gt;2-save the file in work directory&lt;/P&gt;
&lt;P&gt;3-save the file in computer path&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;1- no such thing&lt;/P&gt;
&lt;P&gt;2 vs 3 ... different folder on one of your hard disks or network disks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 19:52:14 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-03-28T19:52:14Z</dc:date>
    <item>
      <title>in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804509#M316825</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to ask a question about export SAS data set into XLSX file.&lt;/P&gt;
&lt;P&gt;What is the difference between:&lt;/P&gt;
&lt;P&gt;1- save the file in memory ?&lt;/P&gt;
&lt;P&gt;2-save the file in work directory&lt;/P&gt;
&lt;P&gt;3-save the file in computer path&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804509#M316825</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-03-28T13:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804604#M316863</link>
      <description>&lt;P&gt;1- save the file in memory ?&lt;/P&gt;
&lt;P&gt;You can't export a SAS dataset to an Excel XLSX file in memory. It has to be on disk. Once on disk, use Excel to open the workbook and that loads it into memory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2-save the file in work directory&lt;/P&gt;
&lt;P&gt;I assume you mean the SAS WORK directory here? Run this to find out where it is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysfunc(pathname(WORK));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;3-save the file in computer path&lt;/P&gt;
&lt;P&gt;Save the file to a particular folder on disk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:25:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804604#M316863</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-28T19:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804610#M316866</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask a question about export SAS data set into XLSX file.&lt;/P&gt;
&lt;P&gt;What is the difference between:&lt;/P&gt;
&lt;P&gt;1- save the file in memory ?&lt;/P&gt;
&lt;P&gt;2-save the file in work directory&lt;/P&gt;
&lt;P&gt;3-save the file in computer path&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;1- no such thing&lt;/P&gt;
&lt;P&gt;2 vs 3 ... different folder on one of your hard disks or network disks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804610#M316866</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-28T19:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804611#M316867</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;In previous post it was said that I can export sas data set into XLSX file that will be "saved" in work library.&lt;/P&gt;
&lt;P&gt;As I see you said that it cannot be done?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export dbms=xlsx data=sashelp.class
file="%sysfunc(pathname(work))/class.xlsx" replace;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804611#M316867</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-03-28T19:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804612#M316868</link>
      <description>&lt;P&gt;You can export a SAS data set as an .xlsx file to ANY folder you have write permission to, including the folder assigned to the WORK library in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what is your real question?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804612#M316868</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-28T19:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804617#M316871</link>
      <description>&lt;P&gt;Thanks,&lt;BR /&gt;Should I have special permission in order to export sas data set into XLS file in work library?&lt;BR /&gt;How can I know If i have this permission?&lt;/P&gt;
&lt;P&gt;I was sure that work library is only for sas data sets and now I understand that I can save there also XLSX files that were created from sas data sets?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804617#M316871</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-03-28T20:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804619#M316872</link>
      <description>&lt;P&gt;By definition, you have complete read/write/execute permission on your WORK directory, otherwise it would be of no use. You need these permissions to create datasets there, and retrieve a library listing.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:08:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804619#M316872</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-28T20:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804621#M316873</link>
      <description>&lt;P&gt;Saving XLSX files in your SAS work directory is not a good idea as this is deleted at the end of your SAS session.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804621#M316873</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-28T20:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804622#M316874</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Saving XLSX files in your SAS work directory is not a good idea as this is deleted at the end of your SAS session.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Depends on what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saving XLSX files in your SAS work directory IS&amp;nbsp; a GOOD idea BECAUSE this is deleted at the end of your SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804622#M316874</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-28T20:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804623#M316875</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Should I have special permission in order to export sas data set into XLS file in work library?&lt;BR /&gt;How can I know If i have this permission?&lt;/P&gt;
&lt;P&gt;I was sure that work library is only for sas data sets and now I understand that I can save there also XLSX files that were created from sas data sets?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The WORK library is in a folder somewhere. It has not other special meaning other than it is a folder. You can write any files you want to that folder (if you have write permission to that folder). Your operating system doesn't care. SAS doesn't care. People like those of us trying to respond to your question do care ... why would you want to do this? What is your real question?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804623#M316875</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-28T20:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804624#M316876</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Saving XLSX files in your SAS work directory is not a good idea as this is deleted at the end of your SAS session.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Depends on what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saving XLSX files in your SAS work directory IS&amp;nbsp; a GOOD idea BECAUSE this is deleted at the end of your SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I look at it differently. If you want it deleted at the end of your SAS session, why create the Excel file at all? What is the benefit?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804624#M316876</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-28T20:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: in memory/work/pc path</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804664#M316902</link>
      <description>&lt;P&gt;The benefit is that something/someone else cleans up after you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/save-data-sets-into-XLSX-files-in-sas-screen/m-p/804435/highlight/true#M316784" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/save-data-sets-into-XLSX-files-in-sas-screen/m-p/804435/highlight/true#M316784&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 04:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-memory-work-pc-path/m-p/804664#M316902</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-29T04:43:02Z</dc:date>
    </item>
  </channel>
</rss>

