Select DS_JOBS not finding multiple instances
Posted: Wed Apr 13, 2005 7:49 pm
Hi All
I have written a job to reset all the jobs/sequences within the current project.
To get the list of all the server jobs and not select the mainframe jobs I am using:
SSELECT DS_JOBS WITH NAME LIKE 1A0X AND JOBTYPE <> 1
which seems to work well, except that it will ignore multiple instances of the same job.
For example JOB001 will reset but JOB001.DEV, JOB001.TST will stay in their aborted state.
Does anyone know of a way to modify the above query to retrieve all server jobs including all the instances of multiple instance jobs?
Thanks in advance.
I have written a job to reset all the jobs/sequences within the current project.
To get the list of all the server jobs and not select the mainframe jobs I am using:
SSELECT DS_JOBS WITH NAME LIKE 1A0X AND JOBTYPE <> 1
which seems to work well, except that it will ignore multiple instances of the same job.
For example JOB001 will reset but JOB001.DEV, JOB001.TST will stay in their aborted state.
Does anyone know of a way to modify the above query to retrieve all server jobs including all the instances of multiple instance jobs?
Thanks in advance.