<?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 while processing data externally in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170179#M43972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a lot of parameters already in place there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message you are getting is an indication for an authorization issue. Please check that all with simple small datasets.&lt;/P&gt;&lt;P&gt;Reading data, using temporary data, updating/maintaining your personal or project data at the Netezza environment.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As you having a slow SQL performance as original issue I would like to go back for doing the investigation: why?&lt;/P&gt;&lt;P&gt;- With the Access/Netezza interface SAS should optimize the SQL to run it all possible at NETEZAA, That is implicit pass through.&lt;/P&gt;&lt;P&gt;- Interface options There are parameters for:&lt;/P&gt;&lt;P&gt;&amp;nbsp; a/&amp;nbsp; best in-database processing pass/through&lt;/P&gt;&lt;P&gt;&amp;nbsp; b/&amp;nbsp; bulk retrieval copying all needed data to SAS. This will cause a lot of transport overhead.&lt;/P&gt;&lt;P&gt;&amp;nbsp; c/&amp;nbsp; bulk-loading adding new data to Netezza&lt;/P&gt;&lt;P&gt; There is no holy grail combination for all. What works&amp;nbsp; for one can be very bad for another. You are most likely needing several templates for each type of workload. The bad news on this: this is commony not well understood. Not by users, Netezaa support and your sas support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to try to organize that all.&lt;/P&gt;&lt;P&gt;The netezza access reference: &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/67473/HTML/default/viewer.htm#n0i2psvqzeph0pn15p4baw2h0zjv.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/67473/HTML/default/viewer.htm#n0i2psvqzeph0pn15p4baw2h0zjv.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Fifth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in database technology (more advanced on top of access): &lt;A href="http://support.sas.com/documentation/onlinedoc/indbtech/" title="http://support.sas.com/documentation/onlinedoc/indbtech/"&gt;In-Database Technology&lt;/A&gt; &lt;/P&gt;&lt;P&gt;user guidelines: &lt;A href="http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf" title="http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf"&gt;http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;notes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/39/282.html" title="http://support.sas.com/kb/39/282.html"&gt;39282 - Cross-database joins are not supported in SAS/ACCESS® Interface to Netezza&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/50/926.html" title="http://support.sas.com/kb/50/926.html"&gt;50926 - SAS/ACCESS® Interface to Netezza LIBNAME does not support Netezza Server 7.0.3 and later&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/46/129.html" title="http://support.sas.com/kb/46/129.html"&gt;46129 - Using SAS/ACCESS® Interface to Netezza to write a SAS® data set to a new table in the Netezza database might result in missing values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your count(*) request there you should cooperated with you netezza DBA. There can be netezza admin tables having that information ready (metadata). It should perform split second without any need to read some data from you table.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 06:27:39 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-10-03T06:27:39Z</dc:date>
    <item>
      <title>Error while processing data externally</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170178#M43971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm trying to run following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS SASTRACE=',,,d' SASTRACELOC=saslog DBIDIRECTEXEC;&lt;/P&gt;&lt;P&gt;LIBNAME Ntzlib NETEZZA&amp;nbsp; DATABASE=ntdb&amp;nbsp; SERVER=ntserv&amp;nbsp; AUTHDOMAIN="netezza" readbuff=1000 bulkunload=yes;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL; &lt;/P&gt;&lt;P&gt;SELECT count(*) from Ntzlib.NETEZZA_TBL; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: CLI open cursor error: ERROR:&amp;nbsp; CREATE EXTERNAL TABLE: permission denied.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #000000;"&gt;PS: Actually I'm getting a very slow sql performance while working with Netezza or any other external DBMS. I'm trying to optimize this by SQL processing at Data base side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 19:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170178#M43971</guid>
      <dc:creator>Dreamer</dc:creator>
      <dc:date>2014-10-02T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing data externally</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170179#M43972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a lot of parameters already in place there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message you are getting is an indication for an authorization issue. Please check that all with simple small datasets.&lt;/P&gt;&lt;P&gt;Reading data, using temporary data, updating/maintaining your personal or project data at the Netezza environment.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As you having a slow SQL performance as original issue I would like to go back for doing the investigation: why?&lt;/P&gt;&lt;P&gt;- With the Access/Netezza interface SAS should optimize the SQL to run it all possible at NETEZAA, That is implicit pass through.&lt;/P&gt;&lt;P&gt;- Interface options There are parameters for:&lt;/P&gt;&lt;P&gt;&amp;nbsp; a/&amp;nbsp; best in-database processing pass/through&lt;/P&gt;&lt;P&gt;&amp;nbsp; b/&amp;nbsp; bulk retrieval copying all needed data to SAS. This will cause a lot of transport overhead.&lt;/P&gt;&lt;P&gt;&amp;nbsp; c/&amp;nbsp; bulk-loading adding new data to Netezza&lt;/P&gt;&lt;P&gt; There is no holy grail combination for all. What works&amp;nbsp; for one can be very bad for another. You are most likely needing several templates for each type of workload. The bad news on this: this is commony not well understood. Not by users, Netezaa support and your sas support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to try to organize that all.&lt;/P&gt;&lt;P&gt;The netezza access reference: &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/67473/HTML/default/viewer.htm#n0i2psvqzeph0pn15p4baw2h0zjv.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/67473/HTML/default/viewer.htm#n0i2psvqzeph0pn15p4baw2h0zjv.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Fifth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in database technology (more advanced on top of access): &lt;A href="http://support.sas.com/documentation/onlinedoc/indbtech/" title="http://support.sas.com/documentation/onlinedoc/indbtech/"&gt;In-Database Technology&lt;/A&gt; &lt;/P&gt;&lt;P&gt;user guidelines: &lt;A href="http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf" title="http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf"&gt;http://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;notes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/39/282.html" title="http://support.sas.com/kb/39/282.html"&gt;39282 - Cross-database joins are not supported in SAS/ACCESS® Interface to Netezza&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/50/926.html" title="http://support.sas.com/kb/50/926.html"&gt;50926 - SAS/ACCESS® Interface to Netezza LIBNAME does not support Netezza Server 7.0.3 and later&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/46/129.html" title="http://support.sas.com/kb/46/129.html"&gt;46129 - Using SAS/ACCESS® Interface to Netezza to write a SAS® data set to a new table in the Netezza database might result in missing values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your count(*) request there you should cooperated with you netezza DBA. There can be netezza admin tables having that information ready (metadata). It should perform split second without any need to read some data from you table.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 06:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170179#M43972</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-03T06:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing data externally</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170180#M43973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap, I'll go though your links &amp;amp; suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But issue was with "bulkunload=yes".&lt;/P&gt;&lt;P&gt;I removed this option and ow its working fine with an acceptable performance.&lt;/P&gt;&lt;P&gt;But I wonder why this was an issue. Because I thought it is the fastest way to retrieve large numbers of rows from a Netezza table.&lt;/P&gt;&lt;P&gt;I'll read more about this in documentation. But for the time being removing this option from my libname statement worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170180#M43973</guid>
      <dc:creator>Dreamer</dc:creator>
      <dc:date>2014-10-03T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing data externally</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170181#M43974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, in this case you did not want the bulkunload as the resulting information (count) is small.&lt;BR /&gt;It could have caused laoding all data to SAS and counting there. Your intention was counting by Netezza. When this is the effect it just have proved the need for different set of settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-while-processing-data-externally/m-p/170181#M43974</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-03T15:31:47Z</dc:date>
    </item>
  </channel>
</rss>

