My Oracle Support Banner

Dbms_datapump.Open Fails With ORA-31626 When Used As A Function In A SQL Select (Doc ID 459419.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***

Symptoms

A call to dbms_datapump procedures from within a function called from a select statement fails with the following errors:

select test_job_open from dual 
* 
ERROR at line 1: 
ORA-31626: job does not exist 
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 
ORA-06512: at "SYS.DBMS_DATAPUMP", line 911 
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4356 
ORA-06512: at "SYS.TEST_JOB_OPEN", line 6 

Cause

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
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.