<?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: ERROR: Could not open file to flush memory contents.sas viya 3.3 in Developers</title>
    <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447068#M146</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR: Could not open file to flush memory contents.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This means the CAS disk cache directory is not open to your users to create files. You can verify the location of this directory by checking the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the /opt/sas/viya/config/etc/cas/default/casconfig.lua file.&lt;/LI&gt;
&lt;LI&gt;Check the following setting env.CAS_DISK_CACHE = '/var/tmp' to determine the directory that needs 777 permission (or permission for users using CAS).&lt;/LI&gt;
&lt;LI&gt;Make sure this is done on all CAS nodes (controller and worker).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Once, this is done, the code executed will work.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 12:32:15 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2018-03-20T12:32:15Z</dc:date>
    <item>
      <title>ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447017#M145</link>
      <description>&lt;P&gt;Hi, When I try to load a csv file of 1gb into caslib, im getting the below error. What does this error mean? Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;&amp;nbsp;72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;73&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc casutil;&lt;BR /&gt;&amp;nbsp;NOTE: The UUID '146fa91a-5361-f54a-91ff-c53d52ea3a52' is connected using session MYSESSION.&lt;BR /&gt;&amp;nbsp;74&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load casdata="20180226_all_markets_export_5gb_without_header.csv" incaslib="testload"&lt;BR /&gt;&amp;nbsp;75&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; casout="20180226_all_markets_export_5gb_without_header" outcaslib="testload" promote;&lt;BR /&gt;&amp;nbsp;ERROR: Could not open file to flush memory contents.&lt;BR /&gt;&amp;nbsp;ERROR: Could not open file to flush memory contents. Permission denied&lt;BR /&gt;&amp;nbsp;ERROR: The action stopped due to errors.&lt;BR /&gt;&amp;nbsp;NOTE: The Cloud Analytic Services server processed the request in 41.482808 seconds.&lt;BR /&gt;&amp;nbsp;76&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;77&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;78&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;&amp;nbsp;91&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 07:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447017#M145</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-20T07:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447068#M146</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR: Could not open file to flush memory contents.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This means the CAS disk cache directory is not open to your users to create files. You can verify the location of this directory by checking the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the /opt/sas/viya/config/etc/cas/default/casconfig.lua file.&lt;/LI&gt;
&lt;LI&gt;Check the following setting env.CAS_DISK_CACHE = '/var/tmp' to determine the directory that needs 777 permission (or permission for users using CAS).&lt;/LI&gt;
&lt;LI&gt;Make sure this is done on all CAS nodes (controller and worker).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Once, this is done, the code executed will work.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 12:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447068#M146</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-20T12:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447076#M147</link>
      <description>Hi Alex, I had done this, and got rid of that error. However, When I execute this:&lt;BR /&gt;&lt;BR /&gt;proc casutil;&lt;BR /&gt;load casdata="test_1235.csv" incaslib="DBDATA"&lt;BR /&gt;importoptions=(filetype="csv" delimiter="," getnames="true")&lt;BR /&gt;casout="test_1235" outcaslib="DBDATA" promote;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc casutil;&lt;BR /&gt;save casdata="test_12345" incaslib="DBDATA"&lt;BR /&gt;casout="test" outcaslib="DBDATA";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ERROR: The file or path 'test_12345' is not available in the file system.&lt;BR /&gt;ERROR: Table 'test_12345' could not be loaded.&lt;BR /&gt;ERROR: Failure opening table 'test_12345': A table could not be loaded.&lt;BR /&gt;ERROR: The action stopped due to errors.&lt;BR /&gt;NOTE: The Cloud Analytic Services server processed the request in 0.000122 seconds.&lt;BR /&gt;ERROR: Failed to save the table "test_12345" from the "DBDATA" caslib to the "DBDATA" caslib.&lt;BR /&gt;&lt;BR /&gt;When I try to load the file again, it says&lt;BR /&gt;ERROR: The table TEST_1235 already exists in caslib DBDATA.&lt;BR /&gt;ERROR: The action stopped due to errors.but its not saving the table.</description>
      <pubDate>Tue, 20 Mar 2018 13:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447076#M147</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-20T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447081#M148</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's correct, because you have to provide full path to test_1235.csv here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc casutil;
load casdata="test_1235.csv"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Mar 2018 13:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447081#M148</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-20T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447090#M149</link>
      <description>Yes, While loading I have given the full name.&lt;BR /&gt;&lt;BR /&gt;proc casutil;&lt;BR /&gt;load casdata="test_1235.csv" incaslib="DBDATA"&lt;BR /&gt;importoptions=(filetype="csv" delimiter="," getnames="true")&lt;BR /&gt;casout="test_1235" outcaslib="DBDATA" promote;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;and while saving it says file does not exist.</description>
      <pubDate>Tue, 20 Mar 2018 13:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447090#M149</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-20T13:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447091#M150</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You need full path, such as /this/is/folder/with/my/files/test_1235.csv&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 13:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447091#M150</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-20T13:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447336#M151</link>
      <description>Okay.. The file is located at /db_data.&lt;BR /&gt;&lt;BR /&gt;proc casutil;&lt;BR /&gt;load casdata="root/db_data/test_1235.csv" incaslib="DBDATA"&lt;BR /&gt;casout="test_12345" outcaslib="DBDATA" promote;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ERROR: Failed to open the file root/db_data/test_1235.csv. Make sure the file exists and that you have permission to read the file.&lt;BR /&gt;Note that Cloud Analytic Services attempts to open a file that is not stored in HDFS.&lt;BR /&gt;ERROR: The action stopped due to errors.&lt;BR /&gt;&lt;BR /&gt;But, the file has 777permissions.&lt;BR /&gt;&lt;BR /&gt;And, now I am getting the error as:&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Mar 2018 07:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447336#M151</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-21T07:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447338#M152</link>
      <description>And when I try this:&lt;BR /&gt;&lt;BR /&gt;proc casutil;&lt;BR /&gt;load casdata="/db_data/test_1235.csv" incaslib="DBDATA"&lt;BR /&gt;importoptions=(filetype="csv" delimiter="," getnames="true")&lt;BR /&gt;casout="test_12345" outcaslib="DBDATA" promote;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ERROR: Path '/db_data/test_1235.csv' for caslib 'DBDATA' appears to be an absolute path. Paths should be relative to the caslib&lt;BR /&gt;root.&lt;BR /&gt;ERROR: The action stopped due to errors.</description>
      <pubDate>Wed, 21 Mar 2018 07:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447338#M152</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-21T07:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447466#M153</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you open a technical support track. Either I or my colleagues will be able to assist you.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:09:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447466#M153</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-21T16:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not open file to flush memory contents.sas viya 3.3</title>
      <link>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447467#M154</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166025"&gt;@AmitSri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do not forget to attach full SAS log.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/ERROR-Could-not-open-file-to-flush-memory-contents-sas-viya-3-3/m-p/447467#M154</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-21T16:10:23Z</dc:date>
    </item>
  </channel>
</rss>

