Error while populating Dimension
I am unable to populate the dimension I am getting the below error message
INI: XOQ-01711: Aggregation path for hierarchies on a dimension "ACCOUNT" is inconsistent, Generic at TxsOqStdFormCommand::execute
I am creating a Account Dim with the following hierarchy and Levels
All_Accounts
Account_Type
Account_Group
Account_no
Regards
Ishaq
Please find the details of the dimension
Environment Details :- AWM (11.1.0.7 B).
Data Base 11.1.0.7
Details Regarding the Dimension
Cost Center Dim
Levels
ALL_Cost_centers
Cost_Center_Group
Cost_Center_Sub_Group
Cost_Center
Hierarchy
Cost_Center_Hier
ALL_Cost_centers
Cost_Center_Group
Cost_Center_Sub_Group
Cost_Center
Cost center Attribute created and last level is checked (the lowest level)
Attribute Mappings
Hierarchy
Account_Hier
All_Cost_Centers
Member --> 'ALL_COST_CENTERS'
Long Desc --> 'All Cost Centers'
Short Desc --> 'All Cost Centers'
Cost_Center_Group
Member --> Cost_Center_Dim.Code_B_Group
Long Desc --> Cost_Center_Dim.Code_B_Group
Short Desc --> Cost_Center_Dim.Code_B_Group
Cost_Center_Sub_Group
Member --> Cost_Center_Dim.Code_B_Sub_Group
Long Desc --> Cost_Center_Dim.Code_B_Sub_Group
Short Desc --> Cost_Center_Dim.Code_B_Sub_Group
Cost_Center_No
Member --> Cost_Center_Dim.Cost_B_Key
Long Desc --> Cost_Center_Dim.Code_B_Descrip
Short Desc --> Cost_Center_Dim.Code_B_Descrip
Cost_Center_No --> Cost_Center_Dim.Code_B
Code_B Table Data
CODE_B_GROUP CODE_B_SUB_GROUP CODE_B_KEY CODE_B CODE_B_DESCRIP
PRODUCTION 1 C0010 PRODUCTION
PRODUCTION PRODUCTION 2 C0011 PROCESS/RECOMBINING
PRODUCTION ENGINEERING 11 C0020 ENGINEERING
PRODUCTION MATERIAL MANAGET 20 C0030 MATERIAL MANAGEMEN
SALES 27 C0050 SALES & DISTRIBUTION
SALES SALES 28 C0055 SALES
SALES SALES 29 C0056 SALES & MARKETING - GENERAL - H/O
SALES MARKETING 33 C0060 MARKETING
FINANCE 40 C0080 FINANCE & ADMINISTRATION
FINANCE ADMINISTRATION 44 C0100 ADMINISTRATION
FINANCE IT 51 C0110 INFORMATION TECHNOLOGY (IT)
I have also checked metalink it points to the below bug 7606712 - DIMENSION MAINTENANCE ERRORS OUT WITH MULTIPLE HIERARCHIES UNDER 11G
Similar Messages
-
ERROR:- ENT-09671 ERROR WHILE EXTRACTION DIMENSION METADATA FOR DIMENSION
Hello all,
i am working on OWB 10gR2 while i try to validate & Deploy according to the following process it was successful but as i tried to view data from dimension i am getting an error which i have mentioned below
Source Table = CUST_MST
Destination Table = CUSTOMER
Dimension = CUSTOMER
Mapping = CUSTOMER_MAP
Validate Table CUST_MAP.
Validate Table CUSTOMER.
Validate Dimension CUSTOMER.
Validate Mapping CUSTOMER_MAP.
Deploy table CUSTOMER.
Deploy mapping CUSTOMER_MAP.
Deploy dimension CUSTOMER (configured => Deploy All).
Deploy table CUSTOMER.
Deploy sequence <CUSTOMER_SEQ>
Deploy mapping CUSTOMER_MAP.
Deploy dimension CUSTOMER (configured => Deploy All).
Start mapping to load table CUSTOMER.
After this i am getting an error while i tried to view the data in the dimension
ERROR:- ENT-09671 ERROR WHILE EXTRACTION DIMENSION METADATA FOR DIMENSION DATAVIEWER
Thanks & Regards
Pratik Lakhpatwala
Jr Oracle DBANot sure if it's valid to have a dimension with 1 hierarchy and 1 level in that hierarchy. The hierarchy may have to have at least 2 levels. If you want the configuration of a dimension with 1 hierarchy and 1 level, CWM2 may want you to omit the hierarchy, thus creating the dimension with only 1 level.
-
Error: while populating the target.
While populating the target table gettig the following error:
ODI-1228: Task Int_HDM_IND_PRTY_ETHN (Export) fails on the target ORACLE connection ORACLE_ETLDEV_INOVA_3.
Caused By: java.sql.SQLException: ORA-01471: cannot create a synonym with same name as object
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)Hi,
Bottom line: The object name is already persist in ur back end DB.
Login to ur back end schema and query,
select * from all_objects where object_name like '<object name which ODI generate>%'
Drop it manually and run the interface.
Cause for the problem, initially u would have ran the same interface with different KM and opted DELETE_TEMPORARY_OBJECTS to False/ODI fails without dropping the temporary table, so ODI will keep the C$_<object name> in back end (may be in table form).
Now, with DBLINK u are trying to create Synonym with the same name as the earlier object which eventually fails.
Makes sense?
Thanks,
Guru -
Error while processing dimension!!
Hello Experts,
We are using BPC 7.5 M sp04, I am trying to add a "Parenth6" column to the "Org" dimension (Org dimension already has Parenth1 to Parenth5 columns), After adding the "Parenth6" column I tried processing the dimension and it is showing below error:
"-OLEDB error: OLE DB or ODBC error: Cannot create a row of size 9052 which is greater than the allow maximum row size of 8060.; 42000.Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'CDNPLAN', Name of 'Org' was being processed.
Server: The current operation was cancelled because another operation in the transaction failed."
Please Advice.
Thanks & Regards,
RohitHi Rohit
This will help you understand the error .
Symptom
Client is receiving following error message when processing a dimension:
DetailMsg - OLE DB error- OLE DB or ODBC error- Cannot create a row of size 8124 which is greater than the allowable maximum of 8060.
Cause
As a workaround to this error, client attempted to reduce the number of characters in the dimension's mbr table in the PARENTHx columns from 50 to 20 to mach the size of the memberid field. However validating and processing the dimension returned the mbr table size back to the 50 character length.
An Enhancement Request has been logged under IM 3535477 2010. The Enhancement Request (ER) will be considered in terms of future product development when considering possible new features in the next major release. Please note that the ER may or may not be included depending on various factors.
Resolution
As a workaround, client removed several properties to get the number of row size record bytes below 8060 so the dimension was able to process.
Please view this note
1098757 - CubeProcess : OLE DB error: OLE DB or ODBC error: Cannot cre
Hope this helps.
Regards
Juan Pablo -
Error while processing dimension after add or delete property
Hi Experts,
I use BPC for MS SP6 with SQL Server 2008. I detected a problem while processing dimension after add or delete property.
The error message is: u201CMemory error: Allocation failure : Not enough storage is available to process this command. Error Code = 0x8007000E, External Code = 0x00000000.u201D
I tried to truncate and drop dimension tables and process dimension again, and it doesnu2019t work.
Any idea?
Thanks a lot for your support!
AlbertHi Sorin,
Yestarday in the afternoon, we added a Property at another Dimension, and we continued having the same problem: we had errors when processing that dimension, but after restarting the server, we can process dimension.
Looking at the Event Viewer, at 'OutlookSoft log' environment, the following error appears:
<<
3/28/2011 6:57:15 PM
ModuleName : Olap9Manager - DeleteDimension
Message : Error Code = 0x8007000E, External Code = 0x00000000:.
Error Code = 0x8007000E, External Code = 0x00000000:.
Error Code = 0x8007000E, External Code = 0x00000000:.
Stack : at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError)
at Microsoft.AnalysisServices.AnalysisServicesClient.Alter(IMajorObject obj, ObjectExpansion expansion, ImpactDetailCollection impact, Boolean allowCreate)
at Microsoft.AnalysisServices.Server.Update(IMajorObject obj, UpdateOptions options, UpdateMode mode, XmlaWarningCollection warnings, ImpactDetailCollection impactResult)
at Microsoft.AnalysisServices.Server.SendUpdate(IMajorObject obj, UpdateOptions options, UpdateMode mode, XmlaWarningCollection warnings, ImpactDetailCollection impactResult)
at Microsoft.AnalysisServices.MajorObject.Update(UpdateOptions options, UpdateMode mode, XmlaWarningCollection warnings)
at Microsoft.AnalysisServices.MajorObject.Update(UpdateOptions options)
at Osoft.Services.Platform.YukonAdmin.Olap9Manager.DeleteDimension(String strAppset, String strDimension, String strCube, String dimTablePrefx, Boolean bDeleteFromDB, String& strMsg, Boolean bOnlySharedDim)
>>
Any idea in order to identify the root cause?
Thanks in advance,
Albert -
Error while validating Dimension
Hi,
I am getting the following error, while validating the Dimension (DIM_COUNTRY).
' VLD-0350: In a hierarchy STANDARD, level relationship binding between parent level REGION and child level COUNTRY does not exist.'
How to rectify this error? Please help.
Regards,
SandeepYou could:
1) Try doing an autobind of dimension, however this may create a duplicate sequence and table.
or
1) Unbind dimension.
2) Delete from repository the sequence that was created previously.
3) Delete from repository the table that was created previously.
4) Autobind dimension.
Note when using autobind you'll lose any partitioning etc. defined on the table.
Cheers
Si
Edited by: ScoobySi on Jan 27, 2010 1:20 PM -
hi,
Here i am giving the DDLs and Inserts of Database .i am getting error while fetching data into outlist.
and the error is err_msg = ORA-00932: inconsistent datatypes: expected - got -
I also posted the same one in my previous post but i did not got any satisfactory answer .Please help me out .It's urgent ..
CREATE TABLE ip_lov_hdr
(table_id VARCHAR2(50) NOT NULL,
table_name VARCHAR2(30) NOT NULL,
col_name VARCHAR2(30) NOT NULL,
codetype VARCHAR2(2))
PCTFREE 10
INITRANS 1
MAXTRANS 255
ALTER TABLE ip_lov_hdr
ADD CONSTRAINT pk_lov_hdr PRIMARY KEY (table_id)
USING INDEX
PCTFREE 10
INITRANS 2
MAXTRANS 255
CREATE TABLE ip_lov_dtl
(table_id VARCHAR2(50) NOT NULL,
col_name VARCHAR2(30) NOT NULL)
PCTFREE 10
INITRANS 1
MAXTRANS 255
ALTER TABLE ip_lov_dtl
ADD CONSTRAINT pk_lov_dtl PRIMARY KEY (table_id, col_name)
USING INDEX
PCTFREE 10
INITRANS 2
MAXTRANS 255
ALTER TABLE ip_lov_dtl
ADD CONSTRAINT fk_lov_hdr FOREIGN KEY (table_id)
REFERENCES ip_lov_hdr (table_id) ON DELETE SET NULL
CREATE TABLE emp
(ename VARCHAR2(50),
empno VARCHAR2(9),
dept VARCHAR2(4))
PCTFREE 10
INITRANS 1
MAXTRANS 255
CREATE OR REPLACE
TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
INSERT INTO emp
(ENAME,EMPNO,DEPT)
VALUES
('titu','111','10')
INSERT INTO emp
(ENAME,EMPNO,DEPT)
VALUES
('naria','222',NULL)
INSERT INTO emp
(ENAME,EMPNO,DEPT)
VALUES
('tiks','123','55')
INSERT INTO emp
(ENAME,EMPNO,DEPT)
VALUES
('tiki','221',NULL)
INSERT INTO emp
(ENAME,EMPNO,DEPT)
VALUES
('narayan',NULL,NULL)
INSERT INTO ip_lov_hdr
(TABLE_ID,TABLE_NAME,COL_NAME,CODETYPE)
VALUES
('emp_id','emp','ename',NULL)
INSERT INTO ip_lov_dtl
(TABLE_ID,COL_NAME)
VALUES
('emp_id','empno')
create or replace PACKAGE PKG_LOV_1
AS
TYPE listtable IS TABLE OF out_rec_lov INDEX BY BINARY_INTEGER;
PROCEDURE p_getlov (
tab_id IN VARCHAR2,
col_value IN VARCHAR2,
OUTLIST OUT LISTTABLE,
err_msg OUT VARCHAR2);
END;
create or replace PACKAGE BODY PKG_LOV_1 AS
PROCEDURE p_getlov( tab_id IN VARCHAR2,
col_value IN VARCHAR2,
outlist OUT listtable,
err_msg OUT VARCHAR2)
IS
query_str VARCHAR2(2000);
col_str VARCHAR2(2000);
type cur_typ IS ref CURSOR;
c cur_typ;
i NUMBER := 0;
l_table_name ip_lov_hdr.TABLE_NAME %TYPE;
l_col_name ip_lov_hdr.col_name%TYPE;
l_codetype ip_lov_hdr.codetype%TYPE;
BEGIN
BEGIN
SELECT TABLE_NAME,
codetype,
col_name
INTO l_table_name,
l_codetype,
l_col_name
FROM ip_lov_hdr
WHERE UPPER(table_id) = UPPER(tab_id);
EXCEPTION
WHEN no_data_found THEN
NULL;
END;
col_str := l_col_name;
FOR rec IN
(SELECT col_name
FROM ip_lov_dtl
WHERE table_id = tab_id)
LOOP
col_str := col_str || ',' || rec.col_name;
END LOOP;
DBMS_OUTPUT.PUT_LINE (col_str);
IF l_codetype IS NULL THEN
query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE ' || l_col_name || ' like :col_value';
ELSE
query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE Codetype =' || l_codetype || ' And ' || l_col_name || ' like :col_value';
END IF;
DBMS_OUTPUT.PUT_LINE(QUERY_STR);
BEGIN
OPEN c FOR query_str USING col_value;
LOOP
FETCH c INTO outlist(i);
i := i + 1;
EXIT WHEN c % NOTFOUND;
END LOOP;
CLOSE c;
EXCEPTION
WHEN others THEN
err_msg := SUBSTR(sqlerrm, 1, 500);
END;
EXCEPTION
WHEN others THEN
err_msg := SUBSTR(sqlerrm, 1, 500);
END p_getlov;
END PKG_LOV_1;
Regards,
Dhabas
Edited by: Dhabas on Dec 29, 2008 12:58 PM
Edited by: Dhabas on Dec 29, 2008 2:43 PM
Edited by: Dhabas on Dec 29, 2008 2:54 PMI made one more small change. This code
15 i number := 0;I modified as
15 i number := 1;And It works fine for me
SQL> create table ip_lov_hdr
2 (
3 table_id varchar2(50) not null,
4 table_name varchar2(30) not null,
5 col_name varchar2(30) not null,
6 codetype varchar2(2)
7 )
8 /
Table created.
SQL> alter table ip_lov_hdr add constraint pk_lov_hdr primary key (table_id) using index
2 /
Table altered.
SQL> create table ip_lov_dtl
2 (
3 table_id varchar2(50) not null,
4 col_name varchar2(30) not null
5 )
6 /
Table created.
SQL> alter table ip_lov_dtl add constraint pk_lov_dtl primary key (table_id, col_name) using index
2 /
Table altered.
SQL> alter table ip_lov_dtl add constraint fk_lov_hdr foreign key (table_id) references ip_lov_hdr (table_id) on delete set null
2 /
Table altered.
SQL> create table emp1
2 (
3 ename varchar2(50),
4 emp1no varchar2(9),
5 dept varchar2(4)
6 )
7 /
Table created.
SQL> create or replace type out_rec_lov as object(ename varchar2(50),emp1no varchar2(9))
2 /
Type created.
SQL> insert into emp1
2 (ename,emp1no,dept)
3 values
4 ('titu','111','10')
5 /
1 row created.
SQL> insert into emp1
2 (ename,emp1no,dept)
3 values
4 ('naria','222',null)
5 /
1 row created.
SQL> insert into emp1
2 (ename,emp1no,dept)
3 values
4 ('tiks','123','55')
5 /
1 row created.
SQL> insert into emp1
2 (ename,emp1no,dept)
3 values
4 ('tiki','221',null)
5 /
1 row created.
SQL> insert into emp1
2 (ename,emp1no,dept)
3 values
4 ('narayan',null,null)
5 /
1 row created.
SQL> insert into ip_lov_hdr
2 (table_id,table_name,col_name,codetype)
3 values
4 ('emp1_id','emp1','ename',null)
5 /
1 row created.
SQL> insert into ip_lov_dtl
2 (table_id,col_name)
3 values
4 ('emp1_id','emp1no')
5 /
1 row created.
SQL> commit
2 /
Commit complete.
SQL> create or replace package pkg_lov_1
2 as
3 type listtable is table of out_rec_lov index by binary_integer;
4
5 procedure p_getlov
6 (
7 tab_id in varchar2,
8 col_value in varchar2,
9 outlist out listtable,
10 err_msg out varchar2
11 );
12 end;
13 /
Package created.
SQL> create or replace package body pkg_lov_1
2 as
3 procedure p_getlov
4 (
5 tab_id in varchar2,
6 col_value in varchar2,
7 outlist out listtable,
8 err_msg out varchar2
9 )
10 is
11 query_str varchar2(2000);
12 col_str varchar2(2000);
13 type cur_typ is ref cursor;
14 c cur_typ;
15 i number := 1;
16 l_table_name ip_lov_hdr.table_name %type;
17 l_col_name ip_lov_hdr.col_name%type;
18 l_codetype ip_lov_hdr.codetype%type;
19 begin
20 begin
21 select table_name,
22 codetype,
23 col_name
24 into l_table_name,
25 l_codetype,
26 l_col_name
27 from ip_lov_hdr
28 where upper(table_id) = upper(tab_id);
29
30 exception
31 when no_data_found then
32 null;
33 end;
34
35 col_str := l_col_name;
36
37 for rec in (select col_name
38 from ip_lov_dtl
39 where table_id = tab_id)
40 loop
41 col_str := col_str || ',' || rec.col_name;
42 end loop;
43
44 dbms_output.put_line (col_str);
45
46 if l_codetype is null
47 then
48 query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where ' || l_col_name || ' like :col_value';
49 else
50 query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where codetype =' || l_codetype || ' and ' || l_col_name || ' like :col_value';
51 end if;
52
53 dbms_output.put_line(query_str);
54
55 begin
56 open c for query_str using col_value;
57
58 loop
59 fetch c into outlist(i);
60 i := i + 1;
61 exit when c % notfound;
62 end loop;
63
64 close c;
65 exception
66 when others then
67 err_msg := substr(sqlerrm, 1, 500);
68 end;
69
70 exception
71 when others then
72 err_msg := substr(sqlerrm, 1, 500);
73
74 end p_getlov;
75 end pkg_lov_1;
76 /
Package body created.
SQL> declare
2 outlist pkg_lov_1.listtable;
3 err_msg varchar2(1000);
4 begin
5 pkg_lov_1.p_getlov('emp1_id', 'titu', outlist, err_msg);
6 for i in 1..outlist.count
7 loop
8 dbms_output.put_line(outlist(i).ename ||','||outlist(i).emp1no);
9 end loop;
10
11 dbms_output.put_line(err_msg);
12 end;
13 /
ename,emp1no
select out_rec_lov(ename,emp1no) from emp1 where ename like :col_value
titu,111
PL/SQL procedure successfully completed.
SQL> -
Error while populating Xref database
Hi All,
I am populating Xref database through ODI, but while executing it i am getting this error--
com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
The error is generated at this step..Insert Flow into I$ table(sql code)
/* Use of a PL-SQL bloc to perform the Insert (management of LONGS and LOBS etc.) */
declare cursor myCursor is
select
oramds:/apps/AIAMetaData/xref/JOBCODE_ID.xref XREF_TABLE_NAME,
#LOADJOBDETAILSINSTAGINGTABLE.GetSourceColumnName XREF_COLUMN_NAME,
SYS.GUID() ROW_NUMBER,
C1_VALUE VALUE,
'N' IS_DELETED,
CURRENT_TIMESTAMP LAST_MODIFIED ,
'I' IND_UPDATE
from AIA11G_XREF.C$_0XREF_DATA
where (1=1)
begin
/* Loop over the Cursor and execute the insert statement */
for aRecord in myCursor loop
insert into AIA11G_XREF.I$_XREF_DATA
XREF_TABLE_NAME,
XREF_COLUMN_NAME,
ROW_NUMBER,
VALUE,
IS_DELETED,
LAST_MODIFIED,
IND_UPDATE
values (
aRecord.XREF_TABLE_NAME,
aRecord.XREF_COLUMN_NAME,
aRecord.ROW_NUMBER,
aRecord.VALUE,
aRecord.IS_DELETED,
aRecord.LAST_MODIFIED,
aRecord.IND_UPDATE
end loop;
end;
In the step Create Flow table I$--the sql generated is:-
create table AIA11G_XREF.I$_XREF_DATA
XREF_TABLE_NAME VARCHAR2(2000) NULL,
XREF_COLUMN_NAME VARCHAR2(2000) NULL,
ROW_NUMBER VARCHAR2(48) NULL,
VALUE VARCHAR2(2000) NULL,
IS_DELETED VARCHAR2(1) NULL,
LAST_MODIFIED TIMESTAMP NULL,
IND_UPDATE char(1)
NOLOGGING
My source and target both are of oracle technology and i have imported LKM SQL to Oracle and IKM Oracle Incremental Update(pl/sql) and CKM
and my odi version is 10.1.3.5
Please solve this problem
Regards,
Sourav
Edited by: user13263578 on Feb 22, 2011 9:18 PM
Edited by: user13263578 on Feb 22, 2011 9:19 PM
Edited by: user13263578 on Feb 23, 2011 4:03 AMHi,
You can copy the SQL code generated by ODI ( for the step giving this error) and then try to execute it via any SQL client like toad/ sql developer etc.
This will help you to find the wrong data .
Also is LAST_MODIFIED and LAST_ACCESSED have datatype as VARCHAR2 ? From the name it seems it is ment to have DATE .
Thanks,
Sutirtha -
Error while transporting Dimension Members from Dev to Quality
Hi all,
I am having issue while I am transporting dimension members from dev to QA, The error log is as below; i am not sure what could be wrong;
Start of the after-import method UJT_TLOGO_AFTER_IMPORT for object type(s) AAPS,AMBR ( )
Member formula expanded for imported master data
Start of data checker messages for Appset XXXX
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Error occurs when checking member formula use on other dimensions
No access to environment 'XXXX'
No access to environment 'XXXX'
BPF: Error reading master data
No access to environment 'XXXX'
Errors occurred during post-handling UJT_AFTER_IMPORT for AAPS L
UJT_AFTER_IMPORT belongs to package UJT
The errors affect the following components:
EPM-BPC-NW-TRA (Transport)
please advise.
Thanks.
Ambikahi Raju,
i tried after giving full access but again same error:-
please see the error log below:-
Start of the after-import method UJT_TLOGO_AFTER_IMPORT for object type(s) AAPS,AMBR ( )
Member formula expanded for imported master data
Start of data checker messages for Appset PETFAS
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Error occurs when checking member formula use on other dimensions
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
InfoObject catalog /CPMB/PETFAS_CHAR is not available in version A
BPF: Error reading master data
No access to environment 'PETFAS'
End of data checker messages for Appset PETFAS
End of after import methode UJT_TLOGO_AFTER_IMPORT (Aktivierungsmodus) - runtime: 00:00:
Starting after import method UJT_TLOGO_AFTER_IMPORT for object type(s) AAPS,AMBR in dele
End of after import methode UJT_TLOGO_AFTER_IMPORT (Löschmodus) - runtime: 00:00:00
Errors occurred during post-handling UJT_AFTER_IMPORT for AAPS L
UJT_AFTER_IMPORT belongs to package UJT
The errors affect the following components:
EPM-BPC-NW-TRA (Transport)
any suggestion..
thanks,
Ambika -
Getting an error while populating the XREF table
Hi all,
I have created a package for populating xref table(have imported the required kms into this project)in which the steps are as follows:-
1. getting the source column name from the AIAserviceConfigProperties file
2. then the interface for extracting the job_id into the xref table
I am getting the source column name but i am not able to populate the xref table..i am getting the following error:-
com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this logical schema/context pair:ESB_XREF / GLOBAL
please throw a light on this
Regards,
Sourav
Edited by: user13263578 on Feb 20, 2011 8:26 PMhi all,
Do i have to create a new context because of importing KM_LKM SQL to SQL (ESB XREF) in my project?
Regards,
Sourav
Edited by: user13263578 on Feb 20, 2011 10:36 PM -
Hi People,
I use oracle forms 10g.While i was trying to populate item in poplist i was thrown with following error as,
Error,
wrong number or types of arguments in call to 'ADD_LIST_ELEMENT'
and I have written the following code in WHEN-NEW-FORM-INSTANCE,
declare
cursor c is select ename from emp;
ena emp.ename%type;
begin
for ena in c loop
add_list_element('block3.list5',1,ena,ena);
end loop;
end;Can u pls help me to find out what could be wrong.thanks in advance.
With Regards
VidsThis one?
declare
cursor c is select ename from emp;
begin
for ena in c loop
add_list_element('block3.list5',1,ena.ename);
end loop;
end;
or
declare
cursor c is select ename, rownum rn from emp;
begin
for ena in c loop
add_list_element('block3.list5',ena.rn, ena.ename);
end loop;
end; -
Error while populating Xref table
Hi all,
I have created a project where i will extract job_id from source instance(which i am getting from AIAServiceConfigProperties.xml file) and populate it in the xref table.
Now i have imported 3 knowledge modules for this project:-
1. KM_LKM SQL to SQL (Mediator XREF)
2. KM_IKM SQL Control Append (Mediator XREF)
have not imported CKM as it cant handle LONG datatypes.
I have kept xref_table in the target datastore and the the job table in the source datastore panel. i have created a variable which extracts the sourceID from the AIAConfig file. But when it comes to the step of populating data into the xref table this error crops up:-
com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Am i missing something here?
Regards,
SouravHi SH,
I have created a variable GetSourceColumnName and in the xref table i have mapped #GetSourceColumnName against XREF_COLUMN_NAME in the xref table. When i am executing the package it is showing the required value but it is showing error in loading data into this xref table.
(in my AIAServiceConfig file my systemID is EBIZ_01 so when i am clicking on the variable after execution i can see this system ID) -
Error while populating drop down list with values from a database
Hi all,
I have a JSP page with a drop down list that is to be populated with values from a database.
This is the code in my JSP file:
<!-- Form for picking the floor -->
<!-- Get the available floors -->
<% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
Iterator<Integer> iterator = floornumbers.iterator(); %>
<!-- Create the form for users to select the floor -->
<form id="floorselectionform">
<input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
Select floor | <select name="floorselector" id="floorselector">
<% while (iterator.hasNext()) { %>
<option value="<%=iterator.next().intValue()%>"> <%=iterator.next().intValue()%> </option>
<% } %>
</select>
<input type="submit" value="Go!"/>
</form> The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
package seatplanner.model;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
/* This class handles all floor operations */
public class FloorPeer
/* This method returns all the floor numbers */
public static ArrayList<Integer> getAllFloorNumbers(DataManager dataManager) {
ArrayList<Integer> floornumbers = new ArrayList<Integer>();
Connection connection = dataManager.getConnection();
if (connection != null) {
try {
Statement s = connection.createStatement();
String sql = "select ID from floor order by ID asc";
try {
ResultSet rs = s.executeQuery(sql);
try {
while (rs.next()) {
floornumbers.add(rs.getInt(1));
finally { rs.close(); }
finally {s.close(); }
catch (SQLException e) {
System.out.println("Could not get floor numbers: " + e.getMessage());
finally {
dataManager.putConnection(connection);
return floornumbers;
} The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
What am I doing wrong in the JSP code?
Thanks for the help in advance.
UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now :confused: .Wrong usage of Iterator.
<!-- Form for picking the floor -->
<!-- Get the available floors -->
<% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
Iterator<Integer> iterator = floornumbers.iterator(); %>
<!-- Create the form for users to select the floor -->
<form id="floorselectionform">
<input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
Select floor | <select name="floorselector" id="floorselector">
<% while (iterator.hasNext()) {
Integer inte = iterator.next();
%>
<option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
<% } %>
</select>
<input type="submit" value="Go!"/>
</form>or make use of enhanced loop as you are already using J2SE 5.0+ for avoiding confusions.
<!-- Form for picking the floor -->
<!-- Get the available floors -->
<% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers(); %>
<!-- Create the form for users to select the floor -->
<form id="floorselectionform">
<input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
Select floor | <select name="floorselector" id="floorselector">
<% for(Integer inte:floornumbers) {%>
<option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
<%}%>
</select>
<input type="submit" value="Go!"/>
</form>and a lot better thing would be making usage of basic Taglib provided with JSTL spec or struts spec which make life easier and simple.
something like usage of <c:forEach/> or <logic:iterate/> would be lot better without writing a single scriptlet code.
Hope that might help :)
REGARDS,
RaHuL -
Error while enabling dimension for OLAP API and BI Beans
Hi, I've created some dimensions in OLAP Catalog using CWM2 packages. These dimensions have only one hierarchy and one or two levels.
I also have an Analytic Workspace, and I've created these dimensions in this A.W. using CREATE_AWDIMENSION method from DBMS_AWM package.
Everything ok at this point.
Next, I've tried to enable these aw dimensions for the OLAP Api and BI Beans, using CREATE_AWDIMENSION_ACCESS_FULL/CREATE_AWDIMENSION_access methods from DBMS_AWM. Strangely, dimensions whith two levels are enabled ok, but dimensions with only one level can't be enabled. If I use CREATE_AWDIMENSION_ACCESS and I execute generated script, an error appears when trying VALIDATE_DIMENSION, with a text like this:
.ENTITY TYPE ENTITY NAME STATUS COMMENT
. Dimension AW1.DIM1 INVALID ERROR: Component entity.
- Default Display Hierarchy: "J0".
. Hierarchy J0 INVALID ERROR: Hierarchy Top Level not found.
My database ir 9.2.0.6. What is failing ? Some idea ? Thanks by your help.Not sure if it's valid to have a dimension with 1 hierarchy and 1 level in that hierarchy. The hierarchy may have to have at least 2 levels. If you want the configuration of a dimension with 1 hierarchy and 1 level, CWM2 may want you to omit the hierarchy, thus creating the dimension with only 1 level.
-
Error while processing dimension: "Exception condition "X_MESSAGE" raised"
Hi,
I have recently transported an Appset from development to production environment. The transport finished successfully, without any error.
Then I update the members of the dimensions and I process it (Production Environment). I get "Exception condition "X_MESSAGE" raised."
I need to solve this problem as soon as possible.
Regards,
Miguel.check the below link
Re: Dump when doing selective deletion
Maybe you are looking for
-
Mac OS X - Flash Player crashes in all browsers for site (bug?)
Hello, I just received a complaint by one of my clients that customers were no longer able to visit his site (using a Mac), as the flash player was crashing everytime the site was loaded, no matter what browser was used. I started investigating this
-
I have been fighting this file witch came up out of no where for the first time ,if i could understand whats going on maybe i can burn a dvd Help !
-
Remote script execution.
Hello. I would like to know how to run a script on a remote Linux machine. Can I do this without caring where the local JVM is running? I haven't done this before, and have searched various places for a concise answer. I have not been successful. Wil
-
After Effects CS6 render fails!! Help!!!
Hi, I have an issue with my Adobe After Effects CS6. When I try to render a compostion that contains video and audio, the render fails. I need your help very urgently.
-
Capturing Video - Problem is I have an MBA with no Firewire
Hi, I have a MBA and I know that I cannot download my Video using Final Cut, because I do not have a Firewire port (wasn't thinking of video editing and downloading when I got this machine)! So I am using a PC to capture the Video in an AVI format. F