Page 1 of 1

Runnig jobs in UNIX

Posted: Mon Jan 23, 2006 2:30 pm
by deepthi
Hi All,
I'm very much confused the way i should run a datastage job or a sequencer from unix and how to schedule it. i just started learning UNIX.
Please help me with brief explaination and commands.

Thanks
deepthi

Re: Runnig jobs in UNIX

Posted: Mon Jan 23, 2006 3:22 pm
by jatayl
Well, you have a couple of options. You can use the crontab command in unix to create a cronjob that in turn kicks off your dsjob script and executes your DataStage sequence. Or, you can actually go into DataStage Director and click on the schedule job button. I find that the cronjob works better. I've had a few issues with the scheduling functionality inside of DataStage. Do a search for dsjob, and you can probably find a korn shell script that was written to execute the dsjob command. Also, you can add parameters to the dsjob command that will pass to your sequence.

Thanks,
Jason