difference between killing the job and unlock the job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mallikharjuna
Participant
Posts: 81
Joined: Thu Nov 30, 2006 7:46 am
Location: india

difference between killing the job and unlock the job

Post by mallikharjuna »

Hi all,

difference between killing the job and unlock the job.

Thanksin advance
MALLI
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

This terms are generally used in following scenario.
If a job is running forever, or for any extreme case like restarting the engine, the running jobs need to be stopped. Some times, the stop option available in the director might take a long to stop the job. So the PID of the corresponding Job will be killed using Kill command from command prompt.
If a job is been used in some client and if a session got broken before the job been closed, the process will still remain in the state as if its been accessed, and will not allow other to access it. There will be a lock held at project level. So that job need to be unlocked. It can be done using the "Cleanup resource" option available in Director.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

This terms are generally used in following scenario.
If a job is running forever, or for any extreme case like restarting the engine, the running jobs need to be stopped. Some times, the stop option available in the director might take a long to stop the job. So the PID of the corresponding Job will be killed using Kill command from command prompt.
If a job is been used in some client and if a session got broken before the job been closed, the process will still remain in the state as if its been accessed, and will not allow other to access it. There will be a lock held at project level. So that job need to be unlocked. It can be done using the "Cleanup resource" option available in Director.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Killing a job is something that, under normal circumstances, should never be done. Jobs should be stopped from the graphical front end.
Unlocking a job is only necessary when it has failed in an unexpected manner or someone has killed it.
Post Reply