Scheduling jobs more than daily

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

Post Reply
amckinne
Participant
Posts: 8
Joined: Tue Mar 26, 2002 8:14 am

Scheduling jobs more than daily

Post by amckinne »

Hello,
We are running Datastage 5.1 on Unix. There are jobs that need to be run every 15 minutes. I didn't see that option on the scheduler. Does anyone do this, or can it be done?

Thanks,
Angela
MR Guy
Participant
Posts: 4
Joined: Sat Apr 20, 2002 8:23 am

Post by MR Guy »

Unless you are using some other scheduler, you will be limited to the capabilities of the system scheduler, cron in the case of Unix. What scheduler are you using?
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

DataStage Basic has a sleep command "Sleep [Seconds]". You may find it easier to write a Batch job that runs in a loop with a sleep of up to 15 minutes that runs the jobs that need to be run on a frequent schedule. This batch job can ensure aborted jobs are reset and can send emails when an error occurs.

regards
Vincent
chinek
Participant
Posts: 75
Joined: Mon Apr 15, 2002 10:09 pm
Location: Australia

Post by chinek »

you can create a unix script to execute your data stage job,
and schedule that script in cron to run every 15 minutes.
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Post by saikrishna »

Hi

Is there any way in DataStage 7.5.x to schedule jobs more than daily.. i.e., hourly, etc.

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

Post by chulett »

You really should start your own post rather than jump on the end of a six year old post, but - short answer is 'yes'. Simply 'Add to Schedule' multiple times.
-craig

"You can never have too many knives" -- Logan Nine Fingers
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Post by saikrishna »

Thanks chullet..
I have searched before I post the query..

Thanks
Sai
sunayan_pal
Participant
Posts: 49
Joined: Fri May 11, 2007 12:24 am
Location: kolkata

Post by sunayan_pal »

if using the UNIX then use the CRONTAB to set on hour or minute basis.
if using mainframe(OPC) make it a time dependent job.
regards
sunayan
Post Reply