Question & Answer
Question
How to move a dataset from one server to another server
Answer
There are two options for moving a dataset:
- Create a job that reads the dataset and writes to a sequential file.
Then move the sequential file to the new system and create a job to read the sequential file and write to a dataset
- As long as both systems can rsh/ssh between each other, you can set up a configuration file that utilizes node pools for each system.
As an example:
{
node "node1"
{
fastname "server1"
pools "Serv1" ""
resource disk "/sample/resource" {pools ""}
resource scratchdisk "/sample/scratch" {pools ""}}
node "node2"
{
fastname "server1"
pools "Serv1"
resource disk "/sample/resource" {pools ""}
resource scratchdisk "/sample/scratch" {pools ""}}
node "node3"
{
fastname "server1"
pools "Serv1"
resource disk "/sample/resource" {pools ""}
resource scratchdisk "/sample/scratch" {pools ""}}
node "node4"
{
fastname "server2"
pools "Serv2"
resource disk "/sample/resource" {pools ""}
resource scratchdisk "/sample/scratch" {pools ""}}
node "node5"
{
fastname "server2"
pools "Serv2"
resource disk "/sample/resource" {pools ""}
resource scratchdisk "/sample/scratch" {pools ""}}
}
Then create job on server1
dataset > copy > dataset
In the copy stage, set the Node Pool and Resource Constraints on advanced tab, then select Node Pool in constraint column and select Serv2 (the target node pool)
Once the job has run, the data will be on the target system but the dataset header file for the target dataset will still be on the source server. You will have to move the header files to your target system (same paths).
[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.1;8.0.1;7.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21392477