File Transfer using DS

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
das_nirmalya
Participant
Posts: 59
Joined: Thu Mar 20, 2008 12:11 am

File Transfer using DS

Post by das_nirmalya »

I want to transfer set of files from one directory to another what is the process to do so.
nsd
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

Why use DataStage? You can use ordinary operating system utilities with a great deal less effort. Unless it is as a learning exercise, why would you spend so much money on a mv command? (Or cp if your UNIX does not permit mv across file systems.)

If this is part of some larger scheme, have DataStage execute the command, either from a job sequence or from a job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, how would you do this without DataStage? The answer is the same with it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
anshumangupta1206
Participant
Posts: 42
Joined: Tue Jan 24, 2006 9:11 am

Post by anshumangupta1206 »

As replied by other members for this task you don't need DS, but if you are eager to do that the easiest option is to use BeforeSubroutine or AftersubRoutine with ExechSh option.
wed
Post Reply