When a user is compiling a Datastage job,They are getting below message
This job is locked by user username.
Even if user has closed that job,this error is still coming.
OR
User aborted a running sequence in between and then getting below error while trying to compile the sequence again.
Cannot get exclusive access to executable file for job Job name-Job may be being monitored.
Solution:
1.Click on Tools and then Run Director from designer.
2.Select the job/Sequence and click on job from top and choose cleanup resources.
3.If this option is not available or visible to you,then open Datastage administrator.
4.Select that project and go to Properties.Please check marked checkbox.
5. Now click on the clean up resource from director.
6.Now try to compile the job to see if the issue is fixed.
7.If the issue still persist,Then click the session of that user from Infosphere.
8.Click on administration.
9.Click on Session management.
10.Click on Active session and select that user and click on Disconnect.
sometimes the job being monitered might be a false alarm for job being locked after thorough troubleshoot and research i found one more main reason for job being monitered and execution time being infinite is system being connected to internet...if u keep getting this job being monitered means then simply disconnect the internet restart the system and do not connect the internet if u want to run datastage...this is best of best solution for job being monitered error.
ReplyDelete