Capture DDL for Oracle Scheduled Jobs and job from DBMA_JOBS
rg2Apr 8 2009 — edited Apr 8 2009I have trying at this for while and now I am stuck...so I need some help or advice.
I am doing a DB migration and I need to capture the DDL for all Oracle Scheduled Jobs as well as DBMS_JOBS. Anyone have a good way?
I took a datapump export last week. Can I run a impdp and capture the DDL for this VIA the sqlfile parameter? If so, how? What would be the script for it. Something like this maybe (par file)?
directory=DP_IMPORT
DUMPFILE=dump1.dmp
SCHEMAS=A,B,C...X,Y,Z
LOGFILE=JOBS.LOG
EXCLUDE=TABLE,INDEX,CONSTRAINT
PARALLEL=4
INCLUDE=JOBS
????