Blog Pro de Jean-Baptiste HEREN

Notes d'un consultant Freelance en Informatique

To content | To menu | To search

Peoplesoft data mover

Data mover est un outil très pratique, permettant l'export et l'import de données dans des tables. Cela peut servir à copier des éléments de paramétrage ou des jeux de tests d'une base à l'autre.

L'interface

On ne peut pas faire plus simple. Il s'agit d'une fenêtre de saisie disposant d'un bouton Exécution (Feu tricolore)


Le Principe

  1. On se connecte à la base Source et on lance un script d'export
  2. On se connecte à la base cible et on lance un script d'import

Exemple de script d'export

SET OUTPUT c:\temp\data\TABLE_HDR.dat;
SET LOG    c:\temp\data\TABLE_HDR_EXPORT.log;

-- Export Tables
EXPORT PS_TABLE_HDR;
EXPORT PS_TABLE_LINE WHERE KEY='TEST';

Exemple de script d'import

SET INPUT c:\temp\data\TABLE_HDR.dat;
SET LOG    c:\temp\data\TABLE_HDR__IMPORT.log;

-- Export Tables
DELETE FROM PS_TABLE_HDR;
IMPORT PS_TABLE_HDR;

DELETE FROM PS_TABLE_LINE WHERE KEY='TEST';;
IMPORT PS_TABLE_LINE;
Jean-Baptiste Heren

Author: Jean-Baptiste Heren

Stay in touch with the latest news and subscribe to the RSS Feed about this category

Comments are closed


no attachment



You Might Also Like

Finding one component location in the peoplesoft portal

Just replace the 'MY_COMPONENT_GBL' parameter in the following sql script. This works for MS SQl Server. You can add more levels by adding Outer Joins. [SQL] /* Where is my component in the portal */...

Continue reading

02_-_new_component_interface.png

Peoplesoft Component interface HOWTO

Here is a tutorial explaining how you can create a function containing one Component INterface, and make use of it from any peolplecode. Following example takes the PO Receipt Component to make...

Continue reading