<?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: proc casutil vs proc fedsql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-casutil-vs-proc-fedsql/m-p/836260#M330663</link>
    <description>&lt;P&gt;Hi there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Viya 3.5 and we read tables from Oracle in 2 steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a caslib to Oracle&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/8.1/casref/n0s9iuu3d4cxjzn1st0z33ik35if.htm" target="_self"&gt;SAS Data Connector to Oracle&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;We tested 2 ways:&lt;OL&gt;&lt;LI&gt;Use a proc cas;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.2/caspg/p0aeici8mm7ivnn1pc24uywi6rn7.htm" target="_self"&gt;Query CAS Tables Using the FedSQL.execDirect Action&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Use a proc fedsql sseref=casauto;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;About the time (&lt;SPAN&gt;20min)... check&amp;nbsp;the query execution plan (enable iptrace) and the logs (enable message level) to make sure the data is not going to the controller but to the worker nodes directly. If possible, use an explicit pass-through and compare the time (assuming no cross-datasources join).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Javier&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2022 06:29:53 GMT</pubDate>
    <dc:creator>a20121248</dc:creator>
    <dc:date>2022-10-01T06:29:53Z</dc:date>
    <item>
      <title>proc casutil vs proc fedsql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-casutil-vs-proc-fedsql/m-p/835641#M330362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS VIYA 3.5 patched until March 2022&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would anyone know why I have an error message (please see below) when I try to load a table from an Oracle caslib to CAS using proc casutil but is working when I am using proc fed sql?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogError1_1664377822529" class="sasError"&gt;ERROR: Base table or view not found ORA-00942: table or view does not exist&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1664377822529" class="sasError"&gt;ERROR: Function failed.&lt;/DIV&gt;
&lt;DIV id="sasLogError3_1664377822529" class="sasError"&gt;ERROR: The action stopped due to errors.&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;I mention that the table is available in the caslib and proc fed sql took about 20min to run without any errors.&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;Thank you.&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;smm662002&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 15:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-casutil-vs-proc-fedsql/m-p/835641#M330362</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2022-09-28T15:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc casutil vs proc fedsql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-casutil-vs-proc-fedsql/m-p/836260#M330663</link>
      <description>&lt;P&gt;Hi there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Viya 3.5 and we read tables from Oracle in 2 steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a caslib to Oracle&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/8.1/casref/n0s9iuu3d4cxjzn1st0z33ik35if.htm" target="_self"&gt;SAS Data Connector to Oracle&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;We tested 2 ways:&lt;OL&gt;&lt;LI&gt;Use a proc cas;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.2/caspg/p0aeici8mm7ivnn1pc24uywi6rn7.htm" target="_self"&gt;Query CAS Tables Using the FedSQL.execDirect Action&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Use a proc fedsql sseref=casauto;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;About the time (&lt;SPAN&gt;20min)... check&amp;nbsp;the query execution plan (enable iptrace) and the logs (enable message level) to make sure the data is not going to the controller but to the worker nodes directly. If possible, use an explicit pass-through and compare the time (assuming no cross-datasources join).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Javier&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 06:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-casutil-vs-proc-fedsql/m-p/836260#M330663</guid>
      <dc:creator>a20121248</dc:creator>
      <dc:date>2022-10-01T06:29:53Z</dc:date>
    </item>
  </channel>
</rss>

