Runnig jobs in UNIX

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

Runnig jobs in UNIX

Post 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
jatayl
Premium Member
Premium Member
Posts: 47
Joined: Thu Jan 19, 2006 11:20 am
Location: Rogers, AR

Re: Runnig jobs in UNIX

Post 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
Post Reply