<?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: Moving data from CAS to SAS library (&amp;gt;100mb) in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/413380#M117</link>
    <description>Thank you Jan. Just a quick note, I needed to remove the quotes around the "All", otherwise worked perfectly.&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Nov 2017 15:40:58 GMT</pubDate>
    <dc:creator>MikeFranz</dc:creator>
    <dc:date>2017-11-14T15:40:58Z</dc:date>
    <item>
      <title>Moving data from CAS to SAS library (&gt;100mb)</title>
      <link>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/412389#M115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to import my data into CAS library through the data import GUI. I am now trying to move it from CAS to SAS (partly because it is a lot of data and I neither need nor want it stored in in-memory).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m using the code below to move it to my SAS library:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA transactions_2017_02;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set casuser.account (keep = CodeGeneralledgeraccount NameGeneralledgeraccount Transactiondate Period Code1 Name Balance);
RUN;&lt;/PRE&gt;&lt;P&gt;However, it keeps giving me the error:&lt;/P&gt;&lt;P&gt;ERROR: The maximum allowed bytes (104857600) of data have been fetched from Cloud Analytic Services. Use the DATALIMIT option to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; increase the maximum value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I implement this data limit option? I have tried the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA transactions_2017_02;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set casuser.account (keep = CodeGeneralledgeraccount NameGeneralledgeraccount Transactiondate Period Code1 Name Balance);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalimit = “All”;&lt;/PRE&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to up the data limit?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 15:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/412389#M115</guid>
      <dc:creator>MikeFranz</dc:creator>
      <dc:date>2017-11-10T15:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from CAS to SAS library (&gt;100mb)</title>
      <link>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/412584#M116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a bit out onb a limb here as I have net yet done anything with Viya (shame on me). But there is an obvious anwer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all your attempt would merely copy the data and add a variable called Datalimit to the copy with value "All" in every row. From &lt;A href="http://documentation.sas.com/?docsetId=casref&amp;amp;docsetTarget=n00av4y570wwkxn1w8wafqc9xa6m.htm&amp;amp;docsetVersion=3.1&amp;amp;locale=en" target="_self"&gt;the doc&lt;/A&gt; I can tell that this would be your best bet:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA transactions_2017_02;
                set casuser.account (datalimit="All" keep = CodeGeneralledgeraccount NameGeneralledgeraccount Transactiondate Period Code1 Name Balance);
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The option is documented as a dataset option so it can occur between the parentheses after the input dataset. The doc also confirms that you are running into the 100MB (104857600 bytes) default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: On second thought, the variable Datalimit would not be in the output dataset as it does not occur on the KEEP statement. It would however be created at datastep run time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;- Jan&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 14:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/412584#M116</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2017-11-11T14:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving data from CAS to SAS library (&gt;100mb)</title>
      <link>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/413380#M117</link>
      <description>Thank you Jan. Just a quick note, I needed to remove the quotes around the "All", otherwise worked perfectly.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2017 15:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Moving-data-from-CAS-to-SAS-library-gt-100mb/m-p/413380#M117</guid>
      <dc:creator>MikeFranz</dc:creator>
      <dc:date>2017-11-14T15:40:58Z</dc:date>
    </item>
  </channel>
</rss>

