why do we need job scheduling tool (autosys)

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
bunny
Participant
Posts: 10
Joined: Thu Apr 21, 2005 8:06 am
Contact:

why do we need job scheduling tool (autosys)

Post by bunny »

Hi every one,

i am new to datastage, we can schedule jobs using datastage director, then why do we use autosys as job scheduler in datastage
talk2shaanc
Charter Member
Charter Member
Posts: 199
Joined: Tue Jan 18, 2005 2:50 am
Location: India

Post by talk2shaanc »

1. Autosys gives u various options, like JOB_ON_ICE, JOB_ON_HOLD
2. Scheduling is pretty simple, if u hav a job that u want to schedule every one hr. Then through Datastage you have to schedule it 24 times, which would create 24 processes(Distinct PID). whereas in autosys you dont have to take so much pain.
3. if u want to run a job on first monday of every month, u just have to set a Calender in autosys, in datastage couldn't think of.
4. if u want to run a job on first business day(a business day for a client may vary) of every month, u just have to set a Calender in autosys, in datastage couldn't think of.

In short I would say, it would give various scheduling options, with less effort. Reusability and maintenance is also a factor. There many others, i have mentioned just few of them.

If you have worked on Autosys extensively, try to implement on Datastage, certain peculiar scheduling logic that you must have come across in your previous proj using Autosys.
Shantanu Choudhary
harithay
Participant
Posts: 106
Joined: Tue Dec 14, 2004 10:51 pm

Post by harithay »

Hello shantanu,

thanks for ur help,

can u give one example how will u connect datastage job with autosys
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Irrespective what scheduler you use (AutoSys, SeeBeyond, ControlM, at, cron, to name a few) use the command line interface dsjob to specify what you want DataStage to do.

The dsjob command is documented in Server Job Developer's Guide and in Parallel Job Developer's Guide - use the index to find "Command Line Interface".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
talk2shaanc
Charter Member
Charter Member
Posts: 199
Joined: Tue Jan 18, 2005 2:50 am
Location: India

Post by talk2shaanc »

you will have to write a Wrapper shell scripts, in which you need use Datastage CLI(for details on CLI check the document suggested by Ray).

After creation of the wrapper shell script, you need to just execute that shell script through autosys.
Shantanu Choudhary
Post Reply