"Cannot get exclusive access to executable file for job
Moderators: chulett, rschirm, roy
"Cannot get exclusive access to executable file for job
When developing PX jobs, I occasionally get abends. I go to Director, either hit RESET or CLEAR STATUS FILE, then attempt a recompile of my job. Quite frequently I get the message:
"Cannot get exclusive access to executable file for job xyz"
1) What is this?
2) How can I easily avoid / correct it?
Thanks,
cbres00
"Cannot get exclusive access to executable file for job xyz"
1) What is this?
2) How can I easily avoid / correct it?
Thanks,
cbres00
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Maybe one of the sub-processes is still running. Try using a Monitor to see whether any stages are still running - choose the "show instances" option. Check using the list_readu command to see whether the job is locked by DataStage. Try switching to a different job in Director (status view) to see whether the lock is freed. Make sure the job is not open in Designer - by anyone.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Charter Member
- Posts: 18
- Joined: Fri Aug 18, 2006 11:47 pm
- Location: California
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Charter Member
- Posts: 18
- Joined: Fri Aug 18, 2006 11:47 pm
- Location: California
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can only rename a job if it is not locked. It is locked if open in Designer or Manager, or in Log or Monitor view in Director. It may also be locked by a defunct process if a connection had been terminated abnormally.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.