Director scheduling/Linux re-start issue

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
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Director scheduling/Linux re-start issue

Post by srini.dw »

Hi,

We are using DataStage director 8.1, as a scheduler tool in our dev environment.

2 issues we are facing in the while scheduling.

1. Whenever we re-start the Linux Server, all the jobs from the scheduler get removed and we have to again re-schedule the jobs manually.

2. Sometimes the jobs Scheduled in the Datastage Director does not get trigger in time.

Any idea how to overcome this issue or why this issue occurs.

Thanks,
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Everything in cron should still be there. The DataStage scheduler uses cron and at unix commands. The at commands disappear with reboots. You can back both up and restore both by finding where in unix these files are kept. Different versions of unix store in different places. Usually /var/spool or /usr/lib/spool or something similar. Need to be root to play in these directories.

crontab -l >kim.crontab

Can backup cron.

crontab <kim.crontab

Can restore it.

Where DataStage stored this information is a lot trickier to find. Good luck there.
Mamu Kim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

By the way there is a crontab for each user. So you need the user that scheduled something to do these commands. Not sure if there is an at option to list.
Mamu Kim
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Post by srini.dw »

Thanks for the replies,

I have scheduled a job via DataStage Director with id SRINI.

How to find out where does it get stored in unix.

I tried doing crontab -l, it says no crontab for SRINI.

Any ideas or help would be appreciated.

Thanks,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to check with your SysAdmin to ensure that any scheduling user is in "cron.allow", meaning you are authorized to use cron.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply