ORA-03001: unimplemented feature. How to find the reason.
RDBMS version: 10.1.0.5.0
Sometimes our application raise the error ORA-03001.
We need to get more information about the problem because we are not able to find the reason of this error.
Someone suggests me to set the event:
alter system set event = '3001 trace name ERRORSTACK level 3' SCOPE=SPFILE
What do you think about it?
Edited by: user600979 on 14-ago-2009 5.36
user600979 wrote:
RDBMS version: 10.1.0.5.0
Sometimes our application raise the error ORA-03001.
We need to get more information about the problem because we are not able to find the reason of this error.
Someone suggests me to set the event:
alter system set event = '3001 trace name ERRORSTACK level 3' SCOPE=SPFILEI'm not sure if setting this event will help but you can test it!
First of all the SCOPE=SPFILE will require to bounce the database. You might first consider setting and testing the event in Memory.
Then you can run a little script to see if the error is trackable and if the tracked information is useful.
SQL> create procedure test_error as
2 e_test_error exception;
3 pragma exception_init (e_test_error, -3001);
4 begin
5 raise e_test_error;
6 end;
7 /
Procedure created.
SQL>
SQL> execute test_error;
BEGIN test_error; END;
ERROR at line 1:
ORA-03001: unimplemented feature
ORA-06512: at "CDM_USER.TEST_ERROR", line 5
ORA-06512: at line 1
SQL> Then check the alert log/trace whatever you use.
Similar Messages
-
PL/SQL: ORA-03001: unimplemented feature
hi i am just trying to understand the bulk binding feature of oracle
this is the test code that i am trying
set serveroutput on
set timing on
declare
src_obj src;
begin
SELECT srcip BULK COLLECT INTO src_obj
FROM rawcdr ;
insert into rawcdr1(srcip) values src_obj;
end;
i am using oracle 10 g std edition
and i get this error
insert into rawcdr1(srcip) values src_obj;
ERROR at line 6:
ORA-06550: line 6, column 25:
PL/SQL: ORA-03001: unimplemented feature
ORA-06550: line 6, column 5:
PL/SQL: SQL Statement ignored
is it something related to the db version
or i m misin on basics
please helphey thanks william
it does work but why was it giving unimplemented feature before
SRC by the way is table type .
now i want to perform some string function on the returned data
what i tried was
SELECT srcip BULK COLLECT INTO src_obj
FROM rawcdr
WHERE srcip='220.227.46.130';
FORALL i IN src_obj.FIRST..src_obj.LAST
if (instr(src_obj(i),'00')=5) then
INSERT INTO rawcdr1 (srcip) VALUES (src_obj(i));
end if;
i get this error
if (instr(src_obj(i),'00')=5) then
ERROR at line 7:
ORA-06550: line 7, column 6:
PLS-00103: Encountered the symbol "IF" when expecting one of the following:
. ( * @ % & - + / at mod remainder rem select update with
<an exponent (**)> delete insert || execute multiset save
merge
ORA-06550: line 11, column 0:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
end not pragma final instantiable order overriding static
member constructor map
Elapsed: 00:00:00.03
is it not possible to use the string function in this context
please help whats the right way to do the same -
ORA-03001: unimplemented feature while run_job, job_type= 'CHAIN'
Hello,
I'm trying to run a chain manually with option run_job, to be able to run the job with use_current_session => TRUE.
I've read documentation, but I'm not able to understand the error message nor why it happens.
ERROR at line 1:
ORA-03001: unimplemented feature
ORA-06512: at "SYS.DBMS_ISCHED", line 185
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 2
Here is the code used.
-- Create Program
-- BEGIN
dbms_scheduler.create_program(
program_name => 'PROGRAM_TASK',
program_type => 'STORED_PROCEDURE',
program_action => 'my_shrink_prog',
number_of_arguments => 1,
enabled => FALSE,
comments => 'sample code that enable row movement');
END;
create or replace procedure my_shrink_prog( par in varchar2) authid current_user as
BEGIN
EXECUTE IMMEDIATE 'alter table ' || par || ' enable row movement';
END;
BEGIN
DBMS_SCHEDULER.define_program_argument (
program_name => 'PROGRAM_TASK',
argument_position => 1,
argument_type => 'VARCHAR2',
DEFAULT_VALUE => 'T1'
dbms_scheduler.enable('PROGRAM_TASK');
END;
BEGIN -- Create Chain with only one step (to simplify the test).
DBMS_SCHEDULER.CREATE_CHAIN (chain_name => 'MY_CHAIN2');
DBMS_SCHEDULER.DEFINE_CHAIN_STEP('MY_CHAIN2', 'STEP1', 'PROGRAM_TASK');
DBMS_SCHEDULER.DEFINE_CHAIN_RULE ('MY_CHAIN2', 'TRUE', 'START STEP1');
DBMS_SCHEDULER.DEFINE_CHAIN_RULE ('MY_CHAIN2', 'STEP1 COMPLETED', 'END');
DBMS_SCHEDULER.ENABLE ('MY_CHAIN2');
END;
-- Job that would run the chain
begin
dbms_scheduler.create_job(
job_name=>'CHAIN_JOB_1'
, auto_drop=>TRUE
, job_type=>'CHAIN'
, job_action=>'MY_CHAIN2'
, repeat_interval=>'freq=daily;byhour=13;byminute=0;bysecond=0'
, enabled=>TRUE
end;
-- Now I try to run the CHAIN with run_job, before daily scheduled time (13:00 pm). In theory it should work, but fails.
begin
dbms_scheduler.run_job('CHAIN_JOB_1',TRUE);
end;
ERROR at line 1:
ORA-03001: unimplemented feature
ORA-06512: at "SYS.DBMS_ISCHED", line 185
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 2
__Note 1:_
- The scheduled job really works. At 13:00 pm the scheduled job starts and complete the chain steps as defined.
Many thanks in advance.
Regards Luis Gomez
Edited by: user12011387 on 07-sep-2012 4:14Thanks for the reply, but my question is related to RUN_JOB.
I've read again documentation. NOW, I've seen the real reason why my error message while try to run a chain via a job.
http://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse009.htm#CHDHFACE
Extracted from that document:
Running Chains
You can use the following two procedures to run a chain immediately:
RUN_JOB
RUN_CHAIN
If you already created a chain job for a chain, you can use the RUN_JOB procedure to run that job (and thus run the chain), but you must set the use_current_session argument of RUN_JOB to FALSE.
... End Text Extracted
- Based on what said in document, I can not run_job with use_current_session => TRUE, as I was trying to do.
- Tested and confirmed:
SQL> begin
2 dbms_scheduler.run_job('CHAIN_JOB_1',FALSE);
3 end;
4 /
PL/SQL procedure successfully completed.
Regards
Luis Gomez -
"ORA-03001: unimplemented feature" in Oracle 8.1.7
When I'm trying to run even the simplest mappings in OWB 9.2 I'm getting the error code ORA-03001: unimplemented feature.
I am running under Oracle 8.1.7 with 8.1.7 as source and target. I have tried to debug the package manually in Oracle but I can't seem to get to what exactly is unimplemented.
I can't compile the Olap and Match Merge functions but shouldn't have to since I'm not using them(?).
Has anyone had the ORA-03001: unimplemented feature problem?I don't know exactly what caused it to fail, I just know that removing the double quotes removes the problem.
Examples of repeated quotes are:
IF get_audit_level = AUDIT_ERROR_DETAILS OR get_audit_level = AUDIT_COMPLETE THEN
WB_RT_MAPAUDIT.error(
p_rta=>get_runtime_audit_id,
p_step=>0,
p_rtd=>batch_auditd_id,
p_rowkey=>0,
p_table=>'"DIM_ACCOUNT"',
p_column=>'*',
or
WB_RT_MAPAUDIT.error_source(
p_rta=>get_runtime_audit_id,
p_rowkey=>get_rowkey + error_index - 1,
p_seq=>10,
p_instance=>1,
p_table=>SUBSTR('"STAGE_ACCOUNT"',0,80),
p_column=>SUBSTR('STAGE_ACCOUNT_0_CUSTOMER_SEX',0,80),
p_value=>SUBSTR("STAGE_ACCOUNT_0_CUSTOMER_SEX"(error_index),0,2000),
p_step=>get_step_number,
p_role=>'S'
error_stmt := SUBSTR('"DIM_ACCOUNT_0_CLI"("DIM_ACCOUNT_i") :="STAGE_ACCOUNT_0_CLI"("STAGE_ACCOUNT_i");',0,2000);
error_column := SUBSTR('"DIM_ACCOUNT_0_CLI"',0,80);
error_value := SUBSTR("STAGE_ACCOUNT_0_CLI"("STAGE_ACCOUNT_i"),0,2000);
or in a procedure:
PROCEDURE "STAGE_ACCOUNT_t" IS
-- Constants for this map
get_map_name CONSTANT VARCHAR2(40) := '"STAGE_ACCOUNT_t"';
get_source_name CONSTANT VARCHAR2(2000) := '"STAGE_ACCOUNT"';
get_source_uoid CONSTANT VARCHAR2(2000) := '"STAGE_ACCOUNT"';
get_step_number CONSTANT NUMBER(22) := 1;
Thanks, -
ORA-03001- unimplemented feature in 9.i
When I'm trying to create a table with BLOB datatype. I'm getting the error code ORA-03001: unimplemented feature.
example:
CREATE TABLE "GAR_ADMIN"."AAA"
("A1" NUMBER(10) NOT NULL,
"A2" BLOB NOT NULL,
PRIMARY KEY("A1"), UNIQUE("A1"))
TABLESPACE "TSPC_GAR_DAT_S01.DAT"
I'm running under Oracle 9.i (VMS Alpha)
Has anyone had the ORA-03001 unimplemented feature problem?SQL> create table hh ( c1 blob );
Table created.
SQL> col parameter format a50
SQL> col value format a20
SQL>
SQL> r
1* select * from v$option
PARAMETER VALUE
Partitioning FALSE
Objects TRUE
Parallel Server FALSE
Advanced replication TRUE
Bit-mapped indexes TRUE
Connection multiplexing TRUE
Connection pooling TRUE
Database queuing TRUE
Incremental backup and recovery TRUE
Instead-of triggers TRUE
Parallel backup and recovery TRUE
PARAMETER VALUE
Parallel execution TRUE
Parallel load TRUE
Point-in-time tablespace recovery TRUE
Fine-grained access control TRUE
N-Tier authentication/authorization TRUE
Function-based indexes TRUE
Plan Stability TRUE
Online Index Build TRUE
Coalesce Index TRUE
Managed Standby TRUE
Materialized view rewrite TRUE
PARAMETER VALUE
Materialized view warehouse refresh TRUE
Database resource manager TRUE
Spatial TRUE
Visual Information Retrieval TRUE
Export transportable tablespaces TRUE
Transparent Application Failover TRUE
Fast-Start Fault Recovery TRUE
Sample Scan TRUE
Duplexed backups TRUE
Java FALSE
OLAP Window Functions TRUE
33 rows selected.
SQL>
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for Linux: Version 8.1.7.0.0 - Development
NLSRTL Version 3.4.1.0.0 - Production
SQL>
I can do it in my database, make a comparison of the options enable between your version and mine.
Joel Pérez -
ORA-03001: unimplemented feature (ADDM)
When i am looking at diagonastic summary at 10g OEM there is 5 findings in the performance area when i drill down it ADDM has identified a number of performance issue which are sequels when i click on these individaul sequels and run advisor ,after running it gives me no recommendation for some sequel and mostly give ORA-03001: unimplemented feature in the recommendations pane for others sequel ,why ADDM is giving no recommendation and error ,is there any missing configuration with ADDM?
ORA-03001: unimplemented featureKhurramwhich relases of version 10g you are in ?
SQL> SELECT banner FROM v$version
2 /
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
What is the value of compatible parameter?Jaffar Bahi i am not getting what do you mean by compatible parameter??
Khurram
Message was edited by:
Khurram Siddiqui -
ORA-03001: unimplemented feature (SQLDev 1.5.0.53.38)
Hi,
I found this error:
An error was encountered performing the requested operation:
ORA-03001: unimplemented feature
03001. 00000 - "unimplemented feature"
*Cause: This feature is not implemented.
*Action: None.
Error at Line:1 Column:53
when I was trying to execute the following query:
select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) -
(sum(decode(:dummy, 'TAX', 6, 0)) +
sum(decode(:dummy, 'RETN', 2, 0)))
from dual;
seems like a bug to me, I don't know, that's why I'm opening this thread.Hi sartigas ,
It is the continuation character '-' feature:
Input:
variable dummy varchar2
begin
:dummy := 'TAX';
end;
select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) -
(sum(decode(:dummy, 'TAX', 6, 0)) +
sum(decode(:dummy, 'RETN', 2, 0)))
from dual;
select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) - /* */
(sum(decode(:dummy, 'TAX', 6, 0)) +
sum(decode(:dummy, 'RETN', 2, 0)))
from dual;
Output:
anonymous block completed
Error starting at line 6 in command:
select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) (sum(decode(:dummy, 'TAX', 6, 0)) +
sum(decode(:dummy, 'RETN', 2, 0)))
from dual
Error at Command Line:6 Column:51
Error report:
SQL Error: ORA-03001: unimplemented feature
03001. 00000 - "unimplemented feature"
*Cause: This feature is not implemented.
*Action: None.
(1000-SUM(DECODE(:DUMMY,'CASH',15,7)))-/**/(SUM(DECODE(:DUMMY,'TAX',6,0))+SUM(DECODE(:DUMMY,'RETN',2,0)))
987
1 rows selected
-Turloch -
Error- ORA-03001: unimplemented feature
Hi,
I am getting ORA-03001:unimplemented feature error in my code.My code is generatiing a clob object.
I have used(Xmlelement
"ABC",
Xmlforest
nvl(to_char(Column_name, 'HHMMSS' ),' ')
The same code is working in other database.But in my current Database i am getting the above error.And moreover both the database has same version(11g release2)
Can any one please let me know what might be the root cause whether any utility pkg is not installed properly or any other issue.Post exact version and a snippet of SQL*Plus showing your statement along with all errors. For example:
SQL> select *
2 from v$version
3 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> select Xmlelement(
2 "ABC",
3 Xmlforest(
4 nvl(to_char(hiredate,'HHMMSS' ),' ') d
5 )
6 )
7 from emp
8 /
XMLELEMENT("ABC",XMLFOREST(NVL(TO_CHAR(HIREDATE,'HHMMSS'),'')D))
<ABC><D>121200</D></ABC>
<ABC><D>120200</D></ABC>
<ABC><D>120200</D></ABC>
<ABC><D>120400</D></ABC>
<ABC><D>120900</D></ABC>
<ABC><D>120500</D></ABC>
<ABC><D>120600</D></ABC>
<ABC><D>120400</D></ABC>
<ABC><D>121100</D></ABC>
<ABC><D>120900</D></ABC>
<ABC><D>120500</D></ABC>
XMLELEMENT("ABC",XMLFOREST(NVL(TO_CHAR(HIREDATE,'HHMMSS'),'')D))
<ABC><D>121200</D></ABC>
<ABC><D>121200</D></ABC>
<ABC><D>120100</D></ABC>
14 rows selected.
SQL> SY. -
[InDesign CS3] how to find the reason of the memory leaks?
Hi all,
I'm working with InDesign CS3. I wrote a plug-in and loaded it into InDesign in debug mode. After I closed the application, I got a console window showing memory leaks as following:
Leaks! 52 leaks, 716804 bytes
Press any key to continue . . .
Does anybody know how to find the reason of the memory leaks? Thanks a lot!
NicoleThanks Dave. I'm using Windows, and I also tried MemoryTracker. I got a Leaks.txt which shows the detail of memory leaks as following. But I really can't understand it. Any help? Thanks.<br /><br />Leaks! 7 leaks, 455252 bytes<br /><br />65036 bytes at: 7B22FF8<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01C96DEC BIBGetVersion cannot be found in any module!<br /> 01C96E60 BIBGetVersion cannot be found in any module!<br /> 01C979E4 cannot find address in any module!<br /> 0131F511 K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 0131F4C4 K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 00EDBC7E K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 00EDBFBE K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 00EDC558 K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 1002C26E cannot find address in any module!<br /> 1002BFB9 cannot find address in any module!<br /> 00401644 cannot find address in any module!<br /> 00405146 cannot find address in any module!<br /> 00404EBD cannot find address in any module!<br /> 7C817067 RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 7B32E38<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01C96DEC BIBGetVersion cannot be found in any module!<br /> 01BB149B cannot find address in any module!<br /> 01BB4C62 cannot find address in any module!<br /> 00EDBCE3 K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 00EDBFBE K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 00EDC558 K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 1002C26E cannot find address in any module!<br /> 1002BFB9 cannot find address in any module!<br /> 00401644 cannot find address in any module!<br /> 00405146 cannot find address in any module!<br /> 00404EBD cannot find address in any module!<br /> 7C817067 RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 7B52AB8<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01C96DEC BIBGetVersion cannot be found in any module!<br /> 02331A7A cannot find address in any module!<br /> 0236E7CD cannot find address in any module!<br /> 43726F6C cannot find address in any module!<br />65036 bytes at: 7C93D80<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 02331F36 cannot find address in any module!<br /> 02367F85 cannot find address in any module!<br /> 02415DB4 cannot find address in any module!<br /> 3F800000 cannot find address in any module!<br /> 02416799 cannot find address in any module!<br /> FFFFFF11 cannot find address in any module!<br />65036 bytes at: 7CD6028<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01CE1C14 cannot find address in any module!<br /> 01DD9346 CTGetVersion cannot be found in any module!<br /> 01D9B052 CTGetVersion cannot be found in any module!<br /> 01D9B189 CTGetVersion cannot be found in any module!<br /> 01D9BB21 CTGetVersion cannot be found in any module!<br /> 01D9BD0C CTGetVersion cannot be found in any module!<br /> 01D9CE96 CTGetVersion cannot be found in any module!<br /> 01D9CEFF CTGetVersion cannot be found in any module!<br /> 01DDBEA2 CTGetVersion cannot be found in any module!<br /> 01DDC214 CTGetVersion cannot be found in any module!<br /> 01DDC7C6 CTGetVersion cannot be found in any module!<br />65036 bytes at: 16D68200<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01BB178C cannot find address in any module!<br /> 01BCE7C8 cannot find address in any module!<br /> 01BCEE13 cannot find address in any module!<br /> 01BD28C5 cannot find address in any module!<br /> 01BD4CB7 cannot find address in any module!<br />65036 bytes at: 20B68F88<br /> 4172627C MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br /> 00EDC1CB K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br /> 01C9C74F cannot find address in any module!<br /> 01CE1C14 cannot find address in any module!<br /> 01D2F1A1 cannot find address in any module!<br /> 01D6F789 CTGetVersion cannot be found in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!<br /> 07BFB464 cannot find address in any module!
-
How to find the reason for a job failure
Hi,
I have created a job .
It was running fine. But after few days it showed the status as broken.
How do we find the reason for a job failure ?
Thanks.There should be a trace file in the either the udump or bdump (depending on Oracle version) directory on the DB server. If the job is broken it has probably failed 16 times, so you should have 16 trace files - each possibly showing the same error. The relevant trace files will have j00 in the name, showing that they were generated from dbms_job.
Ben -
ORA-03001 "unimplemented feature" error for SQL when using view
Our ERP allows us (IT staff) to create Information Access Layers which are basically views. These can be "live" where the view is like your tradiitonal one or non-live, where a table of data is replicated on a schedule and a view is available over that table.
The following SQL runs fine with a non-live IAL but gives an ORA-03001 error when using a live one.
Any ideas why please? We are using 9.2.0.6
Thanks
with
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes
where
site LIKE 'OKM' || '%'
and
line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
AND
line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
AND
sub_division = 'GAS'
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select
d_list.territory,
d_list.customer_name,
d_list.order_no,
d,
0 as sum_value,
d_list.v
from
(select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
d_list
where
s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/Note: If I run the following it is fine, but obviously does not provide what I want:
with
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes
where
site LIKE 'OKM' || '%'
and
line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
AND
line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
AND
sub_division = 'GAS'
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select
d_list.territory,
d_list.customer_name,
d_list.order_no,
d,
0 as sum_value,
d_list.v
from
--(select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
d_list
--where
--s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/Thanks David. The actual SQL is as follows:
with
p_list as
(select * from
(select 'OKM' p_company,
'GAS' p_subdiv,
'01/06/2007' p_startdate,
2 p_months,
3000 p_minval,
DECODE(UPPER('OKM'),'OKM','DD/MM/YYYY','KMI','DD/MM/YYYY','OIA','MM/DD/YYYY') p_datefmt
from dual)
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes,
p_list
where
site LIKE p_company || '%'
and
line_date_entered >=TO_DATE (p_startdate,p_datefmt)
AND
line_date_entered <ADD_MONTHS (TO_DATE (p_startdate,p_datefmt),p_months)+(1-1/(60*60*24))
AND
sub_division = p_subdiv
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select d_list.territory, d_list.customer_name, d_list.order_no, d, decode(lag(d_list.order_no) over (order by d_list.territory, d_list.customer_name, d_list.order_no),d_list.order_no,0,s_list.sv) as sum_value, d_list.v from
(select d_list.order_no, sum(V) sv from d_list, p_list having sum(V) > max(p_minval) group by d_list.order_no) s_list,
d_list
where
s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/the mystery is why it works for a view over a table (created by SQL A) but not a view (which is SQL A).
The actual VIEW is:
SELECT
SUBSTR(co.contract,1,3) company,
co.contract site,
co.order_no order_no,
co.order_id order_type_code,
co.currency_code currency_code,
ROUND(1/col.currency_rate,x_curr_rounding_dp) currency_rate,
co.customer_po_no customer_po_no,
co.date_entered head_date_entered,
co.authorize_code coordinator,
NVL(co.market_code,coc.market_code) customer_market_code,
NVL(co.district_code,x_def_district_code) customer_district_code,
co.customer_no customer_no,
ifsapp.cust_ord_customer_api.get_name(co.customer_no) customer_name,
co.state head_status,
decode(co.state,'Cancelled','N','Invoiced/Closed','N','Y')
head_open_status,
ROUND (
ifsapp.customer_order_api.get_total_base_price(co.order_no)
,x_rounding_dp) total_order_value,
------- co.salesman_code head_salesman_code,
col.line_no line_no,
col.rel_no rel_no,
col.line_item_no line_item_no,
NVL(col.part_no,x_def_inv_part) inventory_part_no,
col.catalog_no sales_part_no,
col.catalog_desc catalog_desc,
col.date_entered line_date_entered,
col.catalog_type sales_part_type,
col.planned_ship_date line_planned_ship_date,
col.planned_delivery_date line_planned_delivery_date,
col.promised_delivery_date line_promised_delivery_date,
col.real_ship_date,
------- col.ref_id line_salesman_code,
col.state line_status,
decode(col.state,'Cancelled','N','Invoiced/Closed','N','Y')
line_open_status,
nvl(col.ref_id,co.salesman_code) salesman_code,
nvl(col.C_Salesman_Region_Code,sps.region_code) region_code,
nvl(col.C_Salesman_Division,sps.division) division,
nvl(col.C_Salesman_Sub_Division,sps.sub_division) sub_division,
nvl(col.C_Salesman_Territory,sps.territory) territory,
NVL2 (
ifsapp.customer_group_api.get_description(co.priority),co.priority,coc.cust_grp
) customer_group_code,
NVL(col.discount,0) discount_percentage,
NVL(col.order_discount,0) order_discount_percentage,
(1-NVL(col.discount,0)/100) *
(1-NVL(col.order_discount,0)/100) discount_factor,
1-(1-NVL(col.discount,0)/100) *
(1-NVL(col.order_discount,0)/100) less_discount_factor,
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp) line_discount_amount,
ROUND (
greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp) rem_line_discount_amount,
col.buy_qty_due buy_qty_due,
col.qty_invoiced qty_invoiced,
greatest(
col.buy_qty_due-col.qty_invoiced,0
) qty_remaining,
qty_shipped,
greatest(
col.buy_qty_due-col.qty_shipped,0
) qty_not_shipped,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) unit_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) unit_line_price_less_disc,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) total_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) total_line_price_less_disc,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) rem_total_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) rem_total_line_price_less_disc,
NVL(co.commission_percentage,0) commission_percent,
1-NVL(co.commission_percentage,0)/100 commission_factor,
NVL(co.commission_percentage,0)/100 less_commission_factor,
col.cost
FROM
ifsapp.customer_order_line col,
ifsapp.customer_order co,
ifsapp.sales_part_salesman sps,
ifsapp.cust_ord_customer coc,
(select
2 x_rounding_dp,
6 x_curr_rounding_dp,
'9999999' x_def_inv_part,
'Domestic' x_def_district_code
from
dual) constants
WHERE
col.order_no=co.order_no
AND
co.customer_no = coc.customer_no
AND
(NVL(col.ref_id,co.salesman_code) = sps.salesman_code or sps.salesman_code is null)
------AND
------ co.state != 'Cancelled'
------AND
------ col.state !='Cancelled'
------AND
------ col.line_item_no <=0I suspect it is the level of complexity that Oracle cannot handle. I have seen notes about Oracle errors with views generating that ORA 03001, maybe I should log it with Oracle... -
ORA-03001: unimplemented feature
Hi all,
i have a column with number(5,2). If i try to insert 1200 will get the above error message. This is also the case if i try to insert -120.22, or 120.33.
I am using oracle 10g R2 under window.
Have anyone a solution.Hi,
Hi,
I did not faced any issue..
17:20:06 rel15_real_p>select * from v$version
17:20:33 2 ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
17:20:35 rel15_real_p>create table test1 no number(9));
create table test1 no number(9))
ERROR at line 1:
ORA-00922: missing or invalid option
17:20:57 rel15_real_p>create table test1 (no number(9));
Table created.
17:21:05 rel15_real_p>insert into test1 values (1);
1 row created.
I did not faced any issue What is the reason behind. that ??
Thanks
Pavan Kumar N -
How to find the reason of database lock or wait event as per specific time?
All -
As a part of a job that was running last night by the developers, they encountered an issue wherein a certain constraint was getting hung. I think there was a lock on that specific table.
This happened at between 3.48 AM and 5.59 AM today morning. How can i find out the reason for that specific event for this time duration??
Just an FYI, Later when the job was killed and restarted afterwards it ran fine.they encountered an issue wherein a certain constraint was getting hung. I see the words but have NO idea what this means.
EXACTLY how can "constraint get hung"?
I think there was a lock on that specific table.Based upon what evidence do you arrive at this conclusion.
ALWAYS
Post Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version; -
ORA-03001 Unimplemented feature error
Hi,
I have created a small procedure and getting above mentioned error, but couldnt find any helpful comments to fix this issue on google, hope grues from this site could help me
<code>
CREATE OR REPLACE PROCEDURE pr_back_bulk (TABLENAME IN VARCHAR2)
AUTHID CURRENT_USER
IS
type c_type is table of ALL_TAB_COLUMNS%ROWtype;
rec1 c_type;
start_time number;
SQLST VARCHAR2(250);
BEGIN
start_time:=dbms_utility.get_time;
SQLST:='select column_name BULK COLLECT INTO REC1 FROM all_tab_columns where table_name=';
SQLST:=SQLST|| ''''||TABLENAME||''' and data_type= ''VARCHAR2''' ;
DBMS_OUTPUT.PUT_LINE(SQLST);
EXECUTE IMMEDIATE SQLST;
--forALL indx in REC1.FIRST..REC1.LAST
--INSERT INTO TT (ATTR) VALUES REC1(INDX);
--dbms_output.put_line(' time difference ='||(dbms_utility.get_time-start_time)/100);
END pr_back_bulk;
</code>901887 wrote:
<code>
SQLST:='select column_name BULK COLLECT INTO REC1 FROM all_tab_columns where table_name=';
SQLST:=SQLST|| ''''||TABLENAME||''' and data_type= ''VARCHAR2''' ;
EXECUTE IMMEDIATE SQLST;
</code>Isn't proper syntax.
SQLST:='select column_name FROM all_tab_columns where table_name=';
SQLST:=SQLST|| ''''||TABLENAME||''' and data_type= ''VARCHAR2''' ;
EXECUTE IMMEDIATE SQLST BULK COLLECT INTO REC1;Should be the proper syntax (i'm guessing here, you should be able to google or check the documentation ... but i'm pretty sure i'm right).
Or to be even more proper and avoid any SQL Injection possibilities (bind variables are your friend).
SQLST:='select column_name FROM all_tab_columns where table_name= :x and data_type = ''VARCHAR2'' ';
EXECUTE IMMEDIATE SQLST BULK COLLECT INTO REC1 using tablename; -
Ora 03001 unimplemented feature in Discoverer viewer
Hi ,
I created a report in Desktop and all reports are run using discoverer viewer.
User are able to run detail worksheets but not summary sheets for these details reports in discoverer viewer or plus.
If I login as same user I can run in desktop.
Any help is highly appricated.Hi All,
I opened SR and oracle suggested these steps and it worked.
1.) Backup the pref.txt file in the $ORACLE_HOME/discoverer/util/ directory ;
2.) Stop the Discoverer and Oc4j instance (you can use "opmnctl stopall" command)
3.) Edit the parameters in the pref.txt to be :
EnhancedAggregationStrategy= 0
UseNoRewriteHint=0
UseOptimizerHints = 1
then save the file.
4.) Once the file is successfully edited, run the applypreferences.sh file in the same directory to get the new preferences into ef
fect.
5.) Start Discoverer and Oc4j instance (you can use "opmnctl startall" command).
It works.
Thanks
Ameen
Maybe you are looking for
-
Is there any changes in the DIAdem script between DIAdem 9.x and DIAdem 10.x ?
Hello, I have got a question about DIAdem Script. I saw the compatibility problem described in KB. 'Why do my DIAdem 9.1 Scripts not work in DIAdem 10?' Many problems were solved, but some case were not. So I guess there is some changes in the DIAdem
-
WHY are the GAMES I Play on FACEBOOK now NOT LOADING ??
Why are the GAMES I PLAY on FACEBOOK now not Loading ? I finally got to the area about STORAGE and got it TURN OFF and went to Play and two so far have NOT LOADED
-
User Interface for MI 7.1
Hi all, what are all the different types of UI elements supported by MI 7.1. And which is the best one to go with and benefits over other? Regards, Kanagaraj.
-
Using TMS for setup system landscape
Hello everyone, I'd like to setup system landscape (tr SMSY_setup) by using TMS and when i'm doing schedule data transfer from TMS/SLD background job is being canceled. i'm recieving message "The SLD server connection is inactive" and dump "UNCAUGHT
-
A webcast that I watch regularly doesn't openup. The screen reads blocked plug in. How do I unblock it? Also what caused it to be blocked in the first place?