Sunday, September 23, 2012

Sample DMS Script to import/export PeopleSoft data


 
Following Export and Import DMS script can be used for the beginner who is new to use DMS to export data from PeopleSoft records.
DMS to Export Data and create DAT file:
 
SET LOG C:\Temp\TEST_TABLE_EXPORT.log;
SET OUTPUT C:\Temp\TEST_TABLE_DATA.DAT;

EXPORT PS_TEST_TABLE WHERE LASTUPDDTTM <= SYSDATE();


DMS to Import data from DAT file:

SET LOG C:\Temp\TEST_TABLE_IMPORT.log;

SET INPUT C:\Temp\TEST_TABLE_DATA.DAT;

IMPORT PS_TEST_TABLE ;

4 comments:

  1. Good work Bhai

    Manoj

    ReplyDelete
  2. It helped. Thanks!!

    ReplyDelete
  3. Can we export it to a new table instead of a .DAT file?

    ReplyDelete
  4. Is it possible to append a sysdate or timestamp to the output file name?
    EXAMPLE - SET OUTPUT E:\Temp\output_('sysdate' or 'timestamp').DAT;

    ReplyDelete