DataPump Export (EXPDP) Fails With Errors ORA-39127 ORA-6502 ORA-6512 In SYS.DBMS_SCHED_MAIN_EXPORT (Doc ID 1174662.1)

Last updated on APRIL 24, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 27-NOV-2012***

Symptoms

DataPump export (expdp) fails with errors:

ORA-39127: unexpected error from call to export_string :=
SYS.DBMS_SCHED_JOB_EXPORT.create_exp(...)
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 431
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1

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