Page 1 of 1

Scheduling multiple jobs through a script

Posted: Wed Aug 29, 2001 7:46 pm
by admin
Does anyone have sample scripts to run DataStage job in unix. I want to run
multiple jobs in one script, and each job is dependent on the other job. So
based on the status, I want to run the other job.

Is that the best way of doing this?

If possible, can you e-mail me the script file, Ill really appreciate it.

Thanks in advance
Regards

Rahim Ladha
e-mail : rahimladha@hotmail.com



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Posted: Wed Aug 29, 2001 8:35 pm
by admin
I think the best way to do this is to do it in DataStage. From a job control program, you will have a lot more control over jobs than through a shell script. A starting point would be the automatically generated code for running jobs. When you are familiar with this, then you can enhance it as much as you like.

-----Original Message-----
From: Rahim Ladha [mailto:rahimladha@hotmail.com]
Sent: Thursday, 30 August 2001 5:46 AM
To: datastage-users@oliver.com
Subject: Scheduling multiple jobs through a script

Does anyone have sample scripts to run DataStage job in unix. I want to run multiple jobs in one script, and each job is dependent on the other job. So based on the status, I want to run the other job.

Is that the best way of doing this?

If possible, can you e-mail me the script file, Ill really appreciate it.

Thanks in advance
Regards

Rahim Ladha
e-mail : rahimladha@hotmail.com



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Posted: Wed Aug 29, 2001 10:36 pm
by admin
The best way is to create a job control routine in DataStage, and schedule that, and only that, job.

Beware dsjob; its only an example of how you might use the DataStage C API.