ORA-31605, LPX-407 WHEN EXECUTING IMPDP AND DBMS_METADATA.GET_DDL
(Doc ID 1072351.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version 10.2.0.3 to 10.2.0.3 [Release 10.2]
IBM z/OS on System z
***Checked for relevance on 10-Oct-2011***
For a database created using characterset CL8EBCDIC1025R, the following errors occur when using
connect / as sysdba
create user a_user identified by a_user default tablespace users temporary tablespace temp;
grant connect, resource to a_user;
create table a_tab (id number, text varchar2(10));
insert into a_tab values (1, 'Text 1');
select dbms_metadata.get_ddl ('TABLE', 'A_TAB') from dual;
ORA-06502: PL/SQL: numeric or value error
ORA-31605: the following was returned from LpxXSLProcessXML in routine
LPX-407: right square bracket missing in the XSL file
ORA-06512: at "SYS.UTL_XML", line 189
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9462
ORA-06512: at "SYS.DBMS_METADATA", line 1919
ORA-06512: at "SYS.DBMS_METADATA", line 2792
ORA-06512: at "SYS.DBMS_METADATA", line 4333
ORA-06512: at line 1
The error is independent of the client characterset in use.
The error does not occur if the database uses character set WE8EBCDIC1047 or UTFE.
The same errors can also occur if the table in question is exported using EXPDP, and an attempt is made to import the resultant export file using IMPDP.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document