Reading txt file with date in its name, in daily cycle

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

gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

Can we use the difference in the date (in the file name) while loading the file and rejectin the already loaded file?

Thanks,
RAJ
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure, you can do whatever makes sense to you. Pass in the date as a parameter and only look for 'todays' file, if you like... as long as the process runs every day.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ps. In my opinion, nothing posted here is a 'workaround' but rather the various resolutions to your requirements. A workaround implies something is broken or not working correctly and you need to go out of your way to 'work around' the problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

Thanks for all,
I think i have to work out different options....

Thank you once again for all,
RAJ
Post Reply