Вы находитесь на странице: 1из 2

Data Mover

1.

Uses of Data mover


1.
2.
3.
4.

Useful at the time of PeopleSoft installation.


To take the backups
To apply fixes and Taxupdates
To transfer the application data between peoplesoft databases irrespective of RDBMS
and Operating System.
5.
To encrypt passwords.
2.

Rules to create Data Mover Scripts


1.
2.
3.
4.
5.

3.

Comments should start with Double dash --.


Every statement should end with ;
More than one space allowed between command statements.
String constants are case sensitive.
Commands are not case sensitive.
Data Mover Commands

Data Mover Commands are platform independent.


1.
2.
3.
4.
5.

new_name;

ENCRYPT_PASSWORD {userID | *};


EXPORT {record | *} [WHERE condition(s)];
IMPORT {record | *} [IGNORE_DUPS]
[AS new_table_name] [WHERE condition(s)];
RENAME {RECORD record | FIELD {field | record.field}} AS

6.

REM, REMARK, (--)


Useful to write the comments.
7.
Create_temp_table table_name;
It creates the temporary tables for Application Engine Programs
8.
CHANGE_ACCESS_PASSWORD <SYMBOLICID>
<NEWACCESSPSWD>;
It changes the AccessID and Password.
PSACCESSPRFL this table contains the information about AccessId and password
9.
Create_trigger Table_name;
It creates the trigger for a specified table
10.
Replace_All Table_name as New_Table_Name;
It drops the existing table and creates tables and indexes according to the export file
11.
Replace_Data Table_Name/ *;
It deletes the data in existing table and inserts the data according to the export file
12.
Replace_View View_Name/ *;
It recreates the Views
4.

SET Commands:
1.

SET LOG <Log File Name>;


It creates a default log file with the name DATAMOVE.LOG in the default log directory
2.
SET NO TRACE;
3.
SET OUTPUT <Output File Name>;
It creates a default output file with the name DATAMOVE.dat in the default log directory

4.
5.
6.

SET INPUT <Output File Name>;


SET START [AFTER] record;
SET NO DATA;
During an export, the NO DATA command prevents data from being exported. In an import,
this command prevents data from being inserted.
7.
SET NO INDEX;
During an IMPORT or a REPLACE_ALL command Prevents indexes from being created
8.
SET NO RECORD;
During an import Prevents records from being created
9.
SET NO SPACE;
It skips the creation of record table spaces
10.
SET NO VIEW;
It skips the creation of SQL Views
11.
SET COMMIT #of_rows;
Default value is 0. If it is zero means it commits after all the rows are inserted into the
record. We can specify any number here. That means we are committing the record after
inserting the specified rows into the record.
12.
SET CREATE_INDEX_BEFORE_DATA;
It creates the indexes before inserting rows into record
13.
SET IGNORE_DUPS;
It ignores "duplicate row" error messages from the database, only valid in Bootstrap mode.
5.

Non Standard SQL Commands:


1.
2.
3.

6.

PSCOPY
STORE
ERASE
Standard SQL Commands:

1.
2.
3.
7.

DDL:
DML:
DCL:
What type of information can Status bar displays?

1.
2.
3.
4.

Database Name: PROD, QEDMO, PT840HR, and so on.


Database Type: Oracle, Sybase, and so on.
Operating Mode: Regular or Bootstrap mode. (By default Regular)
Trace Status: On or off. (PeopleSoft recommends using PeopleSoft Data Mover with
tracing turned off.)

Вам также может понравиться