Import Of Dimensions Shows Errors: IMP-3 IMP-17 ORA-30371 Column Cannot Define A Level In More Than One Dimension (Doc ID 356534.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 10.2.0.1 - Release: 8.1.7 to 10.2
Information in this document applies to any platform.

Symptoms

1. The loss of functionality consists of errors when importing a dimension during a user level
export and import.

2. This is a minor loss because the dimension is imported correctly.

3. This problem occurs when:

- export is done with a schema that has DBA privilege
- other schema's have a dimension with the same name
- import is done into a target database

4. This issue happened on a source database which is a 8.1.7.0 database with the WE8ISO8859P1
characterset on the platform Windows 2003

5. Whenever import is started, it errors with:

...
IMP-00017: following statement failed with ORACLE error 30371:
"CREATE DIMENSION "DIMTEST" LEVEL "LEV1" IS ("ITOSP0008"."BL_BINO","ITOSP000"
"8"."BL_BILLNO","ITOSP0008"."BL_AMOUNT","ITOSP0008"."BL_VENDORCD","ITOSP0008"
""."BL_BRCODE") LEVEL "NKLEV" IS ("ITOSP0008"."BL_BRCODE","ITOSP0008"."BL_VE"
"NDORCD") HIERARCHY "HIRCTEST" ("LEV1" CHILD OF "NKLEV") ATTRIBUTE "LEV1" DE"
"TERMINES "ITOSP0008"."BL_ADVADJAMT" ATTRIBUTE "LEV1" DETERMINES "ITOSP0008""
"."BL_BILLDATE" ATTRIBUTE "LEV1" DETERMINES "ITOSP0008"."BL_CHALLANNO" ATTRI"
"BUTE "NKLEV" DETERMINES "ITOSP0008"."BL_TRNTYPE" ATTRIBUTE "NKLEV" DETERMIN"
"ES "ITOSP0008"."BL_TRNDATE""
IMP-00003: ORACLE error 30371 encountered
ORA-30371: column cannot define a level in more than one dimension
...

6. There are no import sessions that are working. Every import session contains the same errors.

7. The expected or acceptable result is that export only exports the dimension that is owned by
the schema that is exported and consequently no errors occur during the import.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms