<?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: CAS Engine Libref Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711914#M219375</link>
    <description>Is there a way for me to do Quantile Binning on SAS UE?&lt;BR /&gt;&lt;BR /&gt;Since proc Binning only accepts CAS libname statements.</description>
    <pubDate>Sun, 17 Jan 2021 03:38:35 GMT</pubDate>
    <dc:creator>Sai-Reddy</dc:creator>
    <dc:date>2021-01-17T03:38:35Z</dc:date>
    <item>
      <title>CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711840#M219341</link>
      <description>&lt;PRE class="xis-codeBlock"&gt;I am running the below code in SAS university Studio &amp;amp; Keep encountering the below Error.&lt;BR /&gt;&lt;BR /&gt;Error: The data set perm.EX1 must be a CAS engine libref.&lt;BR /&gt;&lt;BR /&gt;I am unable to figure out, how to create a CAS engine libref.&lt;BR /&gt;&lt;BR /&gt;**********************************************************************************************;&lt;BR /&gt;libname perm '/folders/myfolders/Data'; &lt;BR /&gt;&lt;BR /&gt;data mycas.ex1;
   length id 8;
   do id=1 to 1000000;
      x1 = ranuni(101);
      x2 = 10*ranuni(201);
      output;
   end;
run;&lt;BR /&gt;&lt;BR /&gt;proc binning data=mycas.ex1 numbin=10 method=quantile; &lt;BR /&gt;input x1-x2; &lt;BR /&gt;output out=mycas.out1; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 07:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711840#M219341</guid>
      <dc:creator>Sai-Reddy</dc:creator>
      <dc:date>2021-01-16T07:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711912#M219373</link>
      <description>&lt;P&gt;CAS is part of SAS Viya which isn't available in SAS UE. SAS UE is based on SAS 9 only.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 02:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711912#M219373</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-01-17T02:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711913#M219374</link>
      <description>&lt;P&gt;Is there a way for me to Quantile Binning on SAS UE?&lt;/P&gt;&lt;P&gt;Since proc Binning only accepts CAS libname statements.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 03:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711913#M219374</guid>
      <dc:creator>Sai-Reddy</dc:creator>
      <dc:date>2021-01-17T03:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711914#M219375</link>
      <description>Is there a way for me to do Quantile Binning on SAS UE?&lt;BR /&gt;&lt;BR /&gt;Since proc Binning only accepts CAS libname statements.</description>
      <pubDate>Sun, 17 Jan 2021 03:38:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/711914#M219375</guid>
      <dc:creator>Sai-Reddy</dc:creator>
      <dc:date>2021-01-17T03:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712249#M219547</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/357834"&gt;@Sai-Reddy&lt;/a&gt;&amp;nbsp; - According to this link PROC HPBIN may provide what you want:&amp;nbsp;&lt;A href="https://support.sas.com/kb/30/333.html" target="_blank"&gt;https://support.sas.com/kb/30/333.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 22:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712249#M219547</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-01-18T22:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712304#M219596</link>
      <description>&lt;P&gt;Proc HPBin does not work on SAS UE, I tried that before doing Proc Binning.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 04:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712304#M219596</guid>
      <dc:creator>Sai-Reddy</dc:creator>
      <dc:date>2021-01-19T04:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712310#M219601</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/357834"&gt;@Sai-Reddy&lt;/a&gt;&amp;nbsp; - Perhaps someone more statistically-minded like&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; might be able to help.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 05:34:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712310#M219601</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-01-19T05:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: CAS Engine Libref Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712431#M219651</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n1hxon9vm350ikn19oeualfap8qy.htm&amp;amp;locale=en" target="_self"&gt;PROC RANK&lt;/A&gt; should give you the same answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also do it manually via a data step, see this post here for an example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/08/05/proc-hpbin-bin-variables-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/08/05/proc-hpbin-bin-variables-sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc rank data=mycas.ex1 groups=10;
var x1-x2;
ranks rank1 rank2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/357834"&gt;@Sai-Reddy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE class="xis-codeBlock"&gt;I am running the below code in SAS university Studio &amp;amp; Keep encountering the below Error.&lt;BR /&gt;&lt;BR /&gt;Error: The data set perm.EX1 must be a CAS engine libref.&lt;BR /&gt;&lt;BR /&gt;I am unable to figure out, how to create a CAS engine libref.&lt;BR /&gt;&lt;BR /&gt;**********************************************************************************************;&lt;BR /&gt;libname perm '/folders/myfolders/Data'; &lt;BR /&gt;&lt;BR /&gt;data mycas.ex1;
   length id 8;
   do id=1 to 1000000;
      x1 = ranuni(101);
      x2 = 10*ranuni(201);
      output;
   end;
run;&lt;BR /&gt;&lt;BR /&gt;proc binning data=mycas.ex1 numbin=10 method=quantile; &lt;BR /&gt;input x1-x2; &lt;BR /&gt;output out=mycas.out1; &lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 16:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CAS-Engine-Libref-Error/m-p/712431#M219651</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-19T16:02:13Z</dc:date>
    </item>
  </channel>
</rss>

