Oracle AMGT$DATAPUMP
Version 12.1.0.2

General Information
Library Note Morgan's Library Page Footer
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.1 to 12.1.0.2. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Interested in Oracle GoldenGate? Check out the IGGOUG,
Purpose Internal DataPump support package but note that the script is the same one that holds DBMS_AUDIT_MGMT
AUTHID AUTHID DEFINER
Dependencies
DAM_CLEANUP_EVENTS$ DBMS_ASSERT DBMS_PDB_EXEC_SQL
DAM_CLEANUP_JOBS$ DBMS_AUDIT_MGMT KU$_JOBDESC
DAM_CONFIG_PARAM$ DBMS_DATAPUMP KU$_STATUS
Documented No
First Available 12.1.0.1
Security Model Owned by SYS with EXECUTE granted to the EXECUTE_CATALOG_ROLE role
Source {ORACLE_HOME}/rdbms/admin/dbmsamgt.sql
 
INSTANCE_CALLOUT_IMP
Undocumented amgt$datapump.instance_callout_imp(
obj_name   IN  VARCHAR2,
obj_schema IN  VARCHAR2,
obj_type   IN  NUMBER,
prepost    IN  BINARY_INTEGER,
action     OUT VARCHAR2,
alt_name   OUT VARCHAR2);
conn sys@pdbdev as sysdba

CREATE TABLE test (
testcol DATE);

SELECT type#
FROM obj$
WHERE name = 'TEST';

DECLARE
 actout v$session.action%TYPE;
 anameout obj$.name%TYPE;
BEGIN
amgt$datapump.instance_callout_imp('TEST', 'SYS', 2, 0, actout, anameout);
dbms_output.put_line('Action: ' || actout);
dbms_output.put_line('Name: ' || anameout);
END;
/

Related Topics
DataPump API
DBMS_PDB_EXEC_SQL
DBMS_DATAPUMP
DBMS_DATAPUMP_UTL
Packages

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2014 Daniel A. Morgan All Rights Reserved