FTP dataset

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sambarand
Premium Member
Premium Member
Posts: 22
Joined: Mon Apr 10, 2006 11:03 am

FTP dataset

Post by sambarand »

Is there a way to use orchadmin or other unix utility to ftp a dataset from one server to another? If so, what is the command?
Sam
IBM Global Services
n.parameswara.reddy@accen
Participant
Posts: 40
Joined: Mon May 18, 2009 5:22 am

Re: FTP dataset

Post by n.parameswara.reddy@accen »

sambarand wrote:Is there a way to use orchadmin or other unix utility to ftp a dataset from one server to another? If so, what is the command?

unable to move or copy the data set
sambarand
Premium Member
Premium Member
Posts: 22
Joined: Mon Apr 10, 2006 11:03 am

Post by sambarand »

we want to copy the dataset from one server to another..
Sam
IBM Global Services
n.parameswara.reddy@accen
Participant
Posts: 40
Joined: Mon May 18, 2009 5:22 am

Post by n.parameswara.reddy@accen »

sambarand wrote:we want to copy the dataset from one server to another..
it is not possible, if copy the dataset from one server to another server,dataset control file will missed out,
better to load with datastage job from one server to another server
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You can copy a dataset from one server to another, but it is not very simple. Do an "orchadmin ll {dataset}" to your descriptor file. That will give you the names and paths to the actual data files. Copy the descriptor and data files to the new machine, the descriptor file can go anywhere, but the data files must be located in the same path on the new machine as on the old.
sanjay
Premium Member
Premium Member
Posts: 203
Joined: Fri Apr 23, 2004 2:22 am

Post by sanjay »

Sam

if it is NFS mounted between 2 server . you can copy dataset by creating a job were input dataset pointing to 1st server and output dataset to other server . its like file sharing in windows

Thanks
Sanjay

n.parameswara.reddy@accen wrote:
sambarand wrote:we want to copy the dataset from one server to another..
it is not possible, if copy the dataset from one server to another server,dataset control file will missed out,
better to load with datastage job from one server to another server
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Copying across mounted file systems will not make difference as the data location is controlled by configuration file.

You will have to force a different configuration file during your copy.
sambarand
Premium Member
Premium Member
Posts: 22
Joined: Mon Apr 10, 2006 11:03 am

Post by sambarand »

Thanks all for your suggestions..
Sam
IBM Global Services
Post Reply