<?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 PROC DBLOAD - Question and Alternatives? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37094#M9405</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I want to load sas datasets into a Oracle database using a specific tablespace.  Here is what I am trying:&lt;BR /&gt;
&lt;BR /&gt;
proc dbload dbms=oracle data=sashelp.bweight(keep=weight black);&lt;BR /&gt;
 user=test_user;&lt;BR /&gt;
 orapw=test_pass;&lt;BR /&gt;
 path=test_db;&lt;BR /&gt;
 table='PROC_DBLOAD_TEST';&lt;BR /&gt;
 tablespace=test_tablespace;&lt;BR /&gt;
 load;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
My first problem is the following:&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Load ended due to limits. Examine statistics below.&lt;BR /&gt;
NOTE: Limits - Insert (5000), Error (100), Commit (1000)&lt;BR /&gt;
NOTE:  Inserted (5000) rows into table (mk_prod_dbload_test)&lt;BR /&gt;
NOTE:  Rejected (0) insert attempts see the log for details.&lt;BR /&gt;
&lt;BR /&gt;
I cannot find information on how to set these limits, I also do not understand why there are error's being reported.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Are there alternatives to using the dbload procedure where I can still define a tablespace?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Matt</description>
    <pubDate>Wed, 23 Mar 2011 18:02:06 GMT</pubDate>
    <dc:creator>FriedEgg</dc:creator>
    <dc:date>2011-03-23T18:02:06Z</dc:date>
    <item>
      <title>PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37094#M9405</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I want to load sas datasets into a Oracle database using a specific tablespace.  Here is what I am trying:&lt;BR /&gt;
&lt;BR /&gt;
proc dbload dbms=oracle data=sashelp.bweight(keep=weight black);&lt;BR /&gt;
 user=test_user;&lt;BR /&gt;
 orapw=test_pass;&lt;BR /&gt;
 path=test_db;&lt;BR /&gt;
 table='PROC_DBLOAD_TEST';&lt;BR /&gt;
 tablespace=test_tablespace;&lt;BR /&gt;
 load;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
My first problem is the following:&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Load ended due to limits. Examine statistics below.&lt;BR /&gt;
NOTE: Limits - Insert (5000), Error (100), Commit (1000)&lt;BR /&gt;
NOTE:  Inserted (5000) rows into table (mk_prod_dbload_test)&lt;BR /&gt;
NOTE:  Rejected (0) insert attempts see the log for details.&lt;BR /&gt;
&lt;BR /&gt;
I cannot find information on how to set these limits, I also do not understand why there are error's being reported.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Are there alternatives to using the dbload procedure where I can still define a tablespace?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Matt</description>
      <pubDate>Wed, 23 Mar 2011 18:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37094#M9405</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-03-23T18:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37095#M9406</link>
      <description>Hi.&lt;BR /&gt;
I am not sure whether it yield your problem.&lt;BR /&gt;
As I remeber. proc dbload has  limited for loaded rows.Default is 1000 rows (I have forgotten), and there is an option can maximize the default rows.I have forgotten ,You can refer to documentation.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 24 Mar 2011 03:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37095#M9406</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-24T03:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37096#M9407</link>
      <description>To set the limit add limit= statement before load statement.&lt;BR /&gt;
&lt;BR /&gt;
limit=1000000;</description>
      <pubDate>Thu, 24 Mar 2011 10:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37096#M9407</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2011-03-24T10:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37097#M9408</link>
      <description>Thanks Oleg_L, I totally blanked on the doc sheet here because it is clear as day now.  Any idea of a alternative to this procedure for loading to a given tablespace?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003361011.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003361011.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/access_oracle_7367.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/access_oracle_7367.pdf&lt;/A&gt;

Message was edited by: Fried Egg</description>
      <pubDate>Thu, 24 Mar 2011 14:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37097#M9408</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-03-24T14:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37098#M9409</link>
      <description>Using the ACCESS LIBANME engine, you can specify tablespace as an option:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/5/928.html" target="_blank"&gt;http://support.sas.com/kb/5/928.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The preferred way to load (large) Oracle is usally by using Oracle bulk loader. See the documentation for syntax and examples.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Thu, 24 Mar 2011 18:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37098#M9409</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-03-24T18:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DBLOAD - Question and Alternatives?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37099#M9410</link>
      <description>Linus, thanks, this is exactly what I was looking for!  I do use the Oracle bulk loading on large data sets (typically several million rows or more) but for smaller tables was looking for this alternative.</description>
      <pubDate>Thu, 24 Mar 2011 18:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-DBLOAD-Question-and-Alternatives/m-p/37099#M9410</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-03-24T18:13:45Z</dc:date>
    </item>
  </channel>
</rss>

