how to pick all files from a directory to DS job

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
kaushal.kumar@igate.com
Participant
Posts: 77
Joined: Tue Apr 14, 2009 4:03 am

how to pick all files from a directory to DS job

Post by kaushal.kumar@igate.com »

Hi ,
I have a requirement to pick all files fron load directory to datastage job.
How i will do that ?
Please help me .
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Do all your files have the same format?
kaushal.kumar@igate.com
Participant
Posts: 77
Joined: Tue Apr 14, 2009 4:03 am

Post by kaushal.kumar@igate.com »

ArndW wrote:Do all your files have the same format? ...
Yah all files are comma seprated file.
abhijain
Participant
Posts: 88
Joined: Wed Jun 13, 2007 1:10 pm
Location: India

Post by abhijain »

Use Sequential file stage in your datastage job and set the File type property as 'File Pattern' and specify the file path with the pattern.
Rgrds,
Abhi
Post Reply