How to handle if Source file name is freqently changing?

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
nareshketepalli
Participant
Posts: 36
Joined: Mon Jun 28, 2010 11:24 pm
Location: seepz

How to handle if Source file name is freqently changing?

Post by nareshketepalli »

How to handle if Source file name is freqently changing like for
Ex file name is
Date_14-04-2011 and next day date_15-04-2011 so on like this.

Thanks,
NARESHKUMAR
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

File pattern perhaps?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yup.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Re: How to handle if Source file name is freqently changing?

Post by chandra.shekhar@tcs.com »

Dear Naresh,

Kindly change the property as follows in sequential file stage.

1>Read method =File pattern

2>file =Date_*

Then run the Job

Thanks
Kishor
Post Reply