I'm trying to clean up my project and am getting an error when I try to delete one job: "Cannot open exectuable job file RT_CONFIG118"
Does anyone know how to get around this?
Cannot Delete a File
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What is job number 118?
Have you made an earlier attempt to delete this job?
From the Administrator client or from a telnet session execute the command
This will check for orphaned jobs and hashed files associated with them.
If that doesn't work, post back here.
Code: Select all
SELECT NAME, CATEGORY FROM DS_JOBS WHERE JOBNO = '118';
From the Administrator client or from a telnet session execute the command
Code: Select all
DS.CHECKER
If that doesn't work, post back here.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Can you see/open the particular job in Designer, Manager, Director?
If so, you should be able to delete it (once closed) from the GUI.
Otherwise, you will need to delete references to it from DS_JOBS and DS_JOBOBJECTS using SQL, and to remove the repository tables using recursive rm commands.
Make sure that you have two good backups of the project before proceeding!
I'm assuming here that you don't have job number 1118 yet; if you do you will need a somewhat more specific set of rm commands.
If so, you should be able to delete it (once closed) from the GUI.
Otherwise, you will need to delete references to it from DS_JOBS and DS_JOBOBJECTS using SQL, and to remove the repository tables using recursive rm commands.
Make sure that you have two good backups of the project before proceeding!
Code: Select all
DELETE FROM DS_JOBOBJECTS WHERE CLASS = '2' AND OBJIDNO = '118';
DELETE FROM DS_JOBS WHERE JOBNO = '118';
SH -c "rm -rf RT_*118 DS_*118"
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.