Scheduling multiple jobs through a script

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Scheduling multiple jobs through a script

Post 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
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post 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
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post 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.
Locked