Scheduling datastage jobs

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
dsstarter
Participant
Posts: 10
Joined: Wed Mar 29, 2006 10:32 pm

Scheduling datastage jobs

Post by dsstarter »

Hi All,
Please help for the following requirement of mine.

I have some 10 files to be datasourced and i may get these files
at any time to my unix server so as soon as i get these files corresponding
datastage job should get triggered.....

i have different mapping rules for these 10 files thats whay i ahve created
10 diff jobs and need to trigger the correct datastage job when ever a files
comes to my unix box......please adivse on the design part

i can store file name and job name in a table but how to schedule the job please help me

thanks in advance
a starter
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You could use a Sequencer job with a Wait For File Activity stage watching for your file and then run the appropriate job. Write a Sequencer per file to run the appropriate jobs therein, then put all the Sequencers in the scheduler.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or an Enterprise Scheduler like Ctrl-M could do a 'file watch' and trigger a specific job on the arrival of a specific file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply