copy dataset from one server to another

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

copy dataset from one server to another

Post by dnat »

Hi,

i want to copy a dataset from my development server to system test server. Can anyone tell me what command to use.

Thanks.
ThilSe
Participant
Posts: 80
Joined: Thu Jun 09, 2005 7:45 am

Re: copy dataset from one server to another

Post by ThilSe »

dnat wrote:Hi,

i want to copy a dataset from my development server to system test server. Can anyone tell me what command to use.

Thanks.
In my understanding datasets cannot be copied between servers. We can write the contents of a dataset into a file and then copy it.

Regards,
Senthil
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That understanding is basically correct.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Post by dnat »

Thanks for the information.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

As Ray said - you are basically correct that the datasets cannot be easily copied. If your APT_CONFIG file settings point to the same absolute paths on both servers then you could copy the data files and the descriptor file across machines. But it is better to dump the dataset into a sequential file either by using a simple DataStage job or the orchadmin dump command line to generate a file that can be copied across machines and then a small DataStage job to re-load that data into a DataSet.
Chuah
Participant
Posts: 46
Joined: Thu May 18, 2006 9:13 pm
Location: Melbourne

Re: copy dataset from one server to another

Post by Chuah »

dnat wrote:Hi,

i want to copy a dataset from my development server to system test server. Can anyone tell me what command to use.

Thanks.
first you need to have a NFS mount on your development server that is pointing to your test server. write a generic job with RCP turned on that has an input dataset and an output dataset. Your output set should have as its directory the remotely mounted filesystem.
manuel.gomez
Premium Member
Premium Member
Posts: 291
Joined: Wed Sep 26, 2007 11:23 am
Location: Madrid, Spain

Post by manuel.gomez »

Fantastic topic, answered my question literally

Just to give closure to this: if the .ds file is the descriptor file describing columns, number of records, partitions, .......where is the data itself stored? in the DS_TEMP* folders???

Thanks !!!
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

DS_TEMP would hold temporary copy of your job design, the resource disk in your config file will tell the location of your data stored.
Post Reply