Do you have a list of job numbers in a file that you can start with?
Also, the "DELETE VOC xxxx" is not correct, you would want to "DELETE.FILE xxxx" for the files, and then just the record from DS_JOBS.
I can't check now, but I think that one of the builtin menu items will remove associated files if the DS_JOB job name entry is missing, so you might just have to edit the DS_JOBS file.
Note that playing directly with this file, or any other VOC items, is dangerous and one or more backups prior to starting are to be recommended.
How to remove many DataStage jobs automatically?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In addition to what Arnd suggested, remember that stages, links, containers and annotations are stored in DS_JOBOBJECTS, so you need to delete entries from that table, ideally before removing the entry from DS_JOBS.
I haven't tried this but, knowing that you can delete a job in Director client, can you delete multi-selected jobs using Director?
I haven't tried this but, knowing that you can delete a job in Director client, can you delete multi-selected jobs using Director?
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.
Is it about 1,111 jobs out of a total of 1,150 jobs? Both Ray and I think that it can be fast and efficient to select the jobs to delete in the director or to use the search functionality in the designer to get a list of jobs and then merely hit the DELETE button and go home while the jobs are deleted.
Since the manual deletion of jobs involves several files and tables it is prone to errors and should be avoided if at all possible.
Since the manual deletion of jobs involves several files and tables it is prone to errors and should be avoided if at all possible.
-
- Participant
- Posts: 298
- Joined: Tue Aug 26, 2008 12:17 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: