Oracle AMGT$DATAPUMP
Version 12.2.0.1

General Information
Library Note Morgan's Library Page Header
"I spent my entire adult life looking out for the well-being, the training, the equipping of the troops for whom I was responsible. I will not be lectured about what our military needs by a five-deferment draft dodger,"
~ Sen. Tammy Duckworth
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_AUDIT_MGMT DBMS_PDB_EXEC_SQL
DAM_CLEANUP_JOBS$ DBMS_AUDIT_MGMT_LIB DBMS_STANDARD
DAM_CONFIG_PARAM$ DBMS_DATAPUMP KU$_JOBDESC
DBMS_ASSERT 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_INT
DBMS_DATAPUMP_UTL
Packages
What's New In 12cR1
What's New In 12cR2

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-2017 Daniel A. Morgan All Rights Reserved