DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
Marley777



Group memberships:
Premium Members

Joined: 27 Jan 2004
Posts: 148

Points: 1306

Post Posted: Fri Jul 30, 2010 1:53 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Hi, how can I run the same sequencer over and over daily? For example a sequencer will need to be schedued so that it runs hourly Monday through Friday between 6:AM and 11:PM. The DataStage scheduler in director is limited.


Thanks for your help.
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 41076
Location: Canberra, Australia
Points: 228937

Post Posted: Fri Jul 30, 2010 2:01 pm Reply with quote    Back to top    

You can create a parent sequence that looks after the loop within a day, and schedule this parent sequence once per weekday.

_________________
Zenith Solutions (Australia) Pty Ltd
-- from obscurity to clarity
Rate this response:  
Not yet rated
Marley777



Group memberships:
Premium Members

Joined: 27 Jan 2004
Posts: 148

Points: 1306

Post Posted: Fri Jul 30, 2010 2:08 pm Reply with quote    Back to top    

Hi Ray, thanks for responding, can you please elaborate.
Rate this response:  
Not yet rated
kris007


since March 2006

Group memberships:
Premium Members

Joined: 24 Jan 2006
Posts: 1088
Location: Riverside, RI
Points: 7446

Post Posted: Fri Jul 30, 2010 2:21 pm Reply with quote    Back to top    

You need to create a Job Sequence lets say A with a Start Loop, Job Activity and End Loop. The Counter in the Start Loop should be set how many times you want the job to run. Now, you need to create another Job Sequence(Master/Parent Sequence) with Job Sequence A in it and schedule the Master Sequence once per week day as Ray mentioned.

Hope that helps.

_________________
Kris

Where's the "Any" key?-Homer Simpson
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 28935
Location: Denver, CO
Points: 149513

Post Posted: Fri Jul 30, 2010 2:23 pm Reply with quote    Back to top    

The "DataStage scheduler" is simply an interlude to cron. There's nothing stopping you from doing an "Add to schedule" for every hour in that range except that it would be rather tedious. Don't recall ...

_________________
-craig


And as in uffish thought he stood, the Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood, and burbled as it came!
Rate this response:  
Not yet rated
Marley777



Group memberships:
Premium Members

Joined: 27 Jan 2004
Posts: 148

Points: 1306

Post Posted: Fri Jul 30, 2010 2:23 pm Reply with quote    Back to top    

Thanks Ray
Thanks Kris
Rate this response:  
Not yet rated
Marley777



Group memberships:
Premium Members

Joined: 27 Jan 2004
Posts: 148

Points: 1306

Post Posted: Fri Jul 30, 2010 2:24 pm Reply with quote    Back to top    

Thanks everyone
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 28935
Location: Denver, CO
Points: 149513

Post Posted: Fri Jul 30, 2010 2:27 pm Reply with quote    Back to top    

On the subject of sleeping, unless your job runs very very quickly it can't afford to sleep for the full 60 minutes, if you do you will slowly start creeping past your straight-up hour start time. ...

_________________
-craig


And as in uffish thought he stood, the Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood, and burbled as it came!
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours