Page 1 of 1
ETL job filter data base on date supply by database
Posted: Fri Nov 13, 2009 6:59 pm
by h4rd1
Dear all
i'm new in using datastage, do any one know how to filter a data from source base on the date supply by database ?
Thanks
Hardi
Posted: Sat Nov 14, 2009 12:20 am
by kduke
You have to either join to get the date or write a job just to extract the date and write it to a sequential file. Have another job or routine read this date a feed it as a parameter to the main job.
Posted: Sat Nov 14, 2009 10:55 am
by h4rd1
Thanks for the Reply
Can i directly do that in the job ?
Thanks
Hardi
Posted: Sat Nov 14, 2009 12:58 pm
by ray.wurlod
No.
Posted: Sat Nov 14, 2009 3:10 pm
by chulett
I don't see why not - providing this "filtering" can be done in the source query. To be honest, though, I didn't really grok the original question.
![Confused :?](./images/smilies/icon_confused.gif)
Posted: Sat Nov 14, 2009 7:50 pm
by vjonnala1516
just keep the filter/constraint in the base query itself.
Posted: Sun Nov 15, 2009 7:12 pm
by h4rd1
Thanks for the Help
i use parameter set and i add a job that supply the value into the parameter job file.
Thanks