Here is a quick way to do it:
-  Insert the SET EXTRACTstatements in the Data Mover script (DMS) before theIMPORT ..statement.
 eg.,
 % cat /tmp/retrieveddl.dms
 ..
 SET EXTRACT OUTPUT /tmp/ddl_stmts.log;
 SET EXTRACT DDL;
 ..
 IMPORT *;
 It is mandatory that theSET EXTRACT OUPUTstatement must appear before anySET EXTRACTstatements.
-  Run the Data Mover utility with the modified DMS script as an argument.
 eg., OS: Solaris
 % psdmtx -CT ORACLE -CD NAP11 -CO NAP11 -CP NAP11 -CI people -CW peop1e -FP /tmp/retrieveddl.dms
 On successful completion, you will find the DDL statements in /tmp/retrieveddl.dms file.
Check chapter #2 "Using PeopleSoft Data Mover" in Enterprise PeopleTools x.xx PeopleBook: Data Management document for more ideas.
______
(Originally posted on blogs.sun.com at:
http://blogs.sun.com/mandalika/entry/extracting_ddl_statements_from_a)
 
 
 
 
 
 
0 comments:
Post a Comment