Hello All,
I have monthly jobs,weekly jobs,quarterly and daily extract jobs. these jobs will extact data based on current run date(sys date) and
extract data for previous week or previous month and create files. I don't have date dimention instead I have a oracle created_date column in table and
i am using below code for previous month data
CREATED_DATE BETWEEN
(SELECT TRUNC (ADD_MONTHS (RUN_DATE,-1),'MON') START_PREV_MTH FROM
(SELECT SYSDATE AS RUN_DATE FROM DUAL))
AND (SELECT TRUNC (RUN_DATE,'MON')- 1 END_PREV_MTH FROM
(SELECT SYSDATE AS RUN_DATE FROM DUAL))
if there is a fail over or if i want to run the jobs for particular
month or week I can not run unless i change job.what would be a design to handle fail over as well as automatic schedule run.
do i have to use date dimension or should i pass the date as input paramters,if i parameterize how can i pass values automatically,
i am not going to run manually unless there is an abort. what would be my parameters table design , kindly give me a
high level idea on how to solve this.
Thanks
Design question on retrieving monthly data in failover
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
-
- Premium Member
- Posts: 43
- Joined: Wed Feb 27, 2008 1:08 am
Return to “IBM<sup>®</sup> Infosphere DataStage Server Edition”
Jump to
- Moderators' Choice
- ↳ Editor's BLOG Corner
- ↳ Ask the Experts! - Dads and Grads
- ↳ DSXchange Testimonials
- ↳ Cognos (IBM BI)
- FAQs
- ↳ FAQs
- ↳ FAQ Discussion
- DataStage
- ↳ General
- ↳ IBM<sup>®</sup> Infosphere DataStage Server Edition
- ↳ IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- ↳ Archive of DataStage Users@Oliver.com
- IBM<sup>®</sup>Infosphere Products<sup></sup>
- ↳ Business Glossary
- Suggestions
- ↳ Site/Forum
- ↳ Enhancement Wish List
- Consulting
- ↳ Talent
- ↳ Looking for Talent
- Support
- ↳ Parameter Manager
- ↳ Compile All Plus
- Usergroup Forums
- ↳ Usergroup Central Forum
- ↳ Heartland Usergroup Forum
- The Written Word
- ↳ Articles, White Papers and Tips and Tricks
- ↳ Product Documentation
- Third Party Applications
- ↳ Third Party Applications
- Product Derivatives
- ↳ Functions
- ↳ Routines
- ↳ Jobs
- ↳ Logs
- Tools
- ↳ Tools Forum
- Category
- ↳ Infosphere Master Data Management
- ↳ Data Quality Best Practices
- ↳ IBM QualityStage
- ↳ Information Analyzer (formerly ProfileStage)
- ↳ IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
- ↳ IBM<sup>®</sup> DataStage TX
- ↳ BI
- ↳ Data Integration