Creating and Editing Scripts
When you use PeopleSoft Data Mover to manipulate the information in a database, you can either write a new script or open and edit an existing script that is similar to the one that you want to create.
The default file extension for scripts is .DMS, which stands for Data Mover script.
Creating a New Script
To create a new script:
-
Select File, New.
When you first launch PeopleSoft Data Mover, a new file appears automatically. .
-
Enter the script text (that is, the code) in the input pane, which appears on top.
Using proper Data Mover syntax, enter the command statements that you want the script to run.
-
Save the script.
Select File, Save. In the Save As dialog box, select the Save as Unicode check box (if appropriate) and click Save.
Editing an Existing Script
To edit an existing PeopleSoft Data Mover script:
-
Select File, Open.
-
Select the file and click OK.
By default, you view only .DMS files. You can select All Files from the Files of type drop-down list box to view all file types. After you open a script, it appears in the PeopleSoft Data Mover input pane.
-
Modify the script.
If the file that you opened is not a .DMS file, verify that it conforms to the required syntax rules and that it doesn't contain unsupported SQL commands.
-
Save the script with a new name.
Select File, Save As.
In the Save As dialog box, enter a file name, select the Save as Unicode check box (if appropriate) and click Save.
If the script is edited in Unicode format, then the default save is Unicode. However, if the file is opened in ASCII format, then the default is ASCII.
Related Topics