<?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: IMP-00041 and IMP-00017 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139890#M800686</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for ORA-02437 maybe there are duplicate values or null values;&lt;BR /&gt;so check the table, remove the duplicates and enabling the primary key.&lt;BR /&gt;&lt;BR /&gt;For IMP-00041 during creation of a view owned&lt;BR /&gt;by SYSTEM on a view called "dba_data_files"&lt;BR /&gt;owned by SYS.&lt;BR /&gt;Check if exist a public synonym owned by&lt;BR /&gt;SYS called "dba_data_files" and try to&lt;BR /&gt;re-create your view.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;regards</description>
    <pubDate>Tue, 09 Dec 2003 10:34:15 GMT</pubDate>
    <dc:creator>Piergiacomo Perini</dc:creator>
    <dc:date>2003-12-09T10:34:15Z</dc:date>
    <item>
      <title>IMP-00041 and IMP-00017</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139889#M800685</link>
      <description>i have import data on a database oracle 7.3.4, I have following error messages: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IMP-00017: following statement failed with ORACLE error 2437:&lt;BR /&gt; "ALTER TABLE "QR_MAP_ATTACH_ALIAS" ADD  CONSTRAINT "PK_MAP_ATTACH_ALIAS" PRI"&lt;BR /&gt; "MARY KEY ("ATTACH_NAME") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"&lt;BR /&gt; "RAGE (INITIAL 512000 NEXT 102400 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCR"&lt;BR /&gt; "EASE 0 FREELISTS 1 ) TABLESPACE "USR""&lt;BR /&gt;IMP-00003: ORACLE error 2437 encountered&lt;BR /&gt;ORA-02437: cannot enable (QARUN.PK_MAP_ATTACH_ALIAS) - primary key violated&lt;BR /&gt; and&lt;BR /&gt;&lt;BR /&gt;IMP-00041: Warning: object created with compilation warnings&lt;BR /&gt; "CREATE FORCE VIEW "SYSTEM"."TEMPRPT_BYTES"                          ("TABLE"&lt;BR /&gt; "SPACE_NAME","BYTES") AS "&lt;BR /&gt; "select tablespace_name,sum(bytes) bytes"&lt;BR /&gt; "from dba_data_files"&lt;BR /&gt; "group by tablespace_name"&lt;BR /&gt;&lt;BR /&gt;how to make for to resolve it?. &lt;BR /&gt;thank you for your assistance.  &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2003 10:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139889#M800685</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-09T10:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: IMP-00041 and IMP-00017</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139890#M800686</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for ORA-02437 maybe there are duplicate values or null values;&lt;BR /&gt;so check the table, remove the duplicates and enabling the primary key.&lt;BR /&gt;&lt;BR /&gt;For IMP-00041 during creation of a view owned&lt;BR /&gt;by SYSTEM on a view called "dba_data_files"&lt;BR /&gt;owned by SYS.&lt;BR /&gt;Check if exist a public synonym owned by&lt;BR /&gt;SYS called "dba_data_files" and try to&lt;BR /&gt;re-create your view.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 09 Dec 2003 10:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139890#M800686</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2003-12-09T10:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: IMP-00041 and IMP-00017</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139891#M800687</link>
      <description>For the 1st error, the usual explanation is that the source and target database do not share the same cahracter set. Therefore, during the import the conversion generates dupplicate keys.&lt;BR /&gt;&lt;BR /&gt;Solution : your target database should be created with the same CHARACTER SET&lt;BR /&gt;&lt;BR /&gt;cf. Metalink note 107597.1&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 09 Dec 2003 10:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139891#M800687</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-09T10:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMP-00041 and IMP-00017</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139892#M800688</link>
      <description>Most likely, this is a character set issue, (above post).  Try the following:&lt;BR /&gt;&lt;BR /&gt;select attach_name,count(*) from qr_map_attach_alias group by attach_name having count(*) &amp;gt; 1;&lt;BR /&gt;&lt;BR /&gt;The following will also work as well (I like this one, it is from metalink):&lt;BR /&gt;&lt;BR /&gt;select attach_name from qr_map_attach_alias&lt;BR /&gt;where rowid in&lt;BR /&gt;(select rowid from qr_map_attach_alias &lt;BR /&gt;minus&lt;BR /&gt;select max(rowid) from qr_map_attach_alias&lt;BR /&gt;group by attach_name)&lt;BR /&gt;&lt;BR /&gt;As for the IMP-00041, this is a normal import error.  Views are created sequentially, however because they may call other views inside, if the calling view does not exist, you will get this error.  Views are recompiled when used if they are invalid, so when you try to access this view, it will most likely work normally.  I wouldn't worry about these, but you will want to check them when you are done by either selecting against them or recompiling them.  &lt;BR /&gt;&lt;BR /&gt;ie:&lt;BR /&gt;select count(*) from system.temprpt_bytes where rownum = 1;&lt;BR /&gt; or&lt;BR /&gt;alter view system.temprpt_bytes compile;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Tue, 09 Dec 2003 16:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139892#M800688</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2003-12-09T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMP-00041 and IMP-00017</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139893#M800689</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;to add to the above great replies,&lt;BR /&gt;&lt;BR /&gt;(1)&lt;BR /&gt;if you now want to delete the duplicate records, use:&lt;BR /&gt;&lt;BR /&gt;delete from QR_MAP_ATTACH_ALIAS a&lt;BR /&gt; where rowid &amp;lt;&amp;gt; ( select max(rowid)&lt;BR /&gt;                    from QR_MAP_ATTACH_ALIAS b&lt;BR /&gt;                   where b.ATTACH_NAME = a.ATTACH_NAME)&lt;BR /&gt;&lt;BR /&gt;(2)&lt;BR /&gt;As Brian said above, the problem with the view can be resolved automatically. Do a "select * from system.TEMPRPT_BYTES where rownum &amp;lt;2" to see if the view is OK.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 10 Dec 2003 02:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imp-00041-and-imp-00017/m-p/3139893#M800689</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-12-10T02:06:42Z</dc:date>
    </item>
  </channel>
</rss>

