Operating System - OpenVMS
1753511 Members
4927 Online
108795 Solutions
New Discussion юеВ

Pending Job in Batchqueue

 

Pending Job in Batchqueue

Hello,
i have in the moment a little Problem wit a batchjob. this Job requeued permanently .
Now i have many hundred Jobs in my SYS$BATCH Queue. My Question, how i can erase all this Entry with one task. DELTE /ENtry is only by each position. Can i erase this by User or Jobname?

Thanks
3 REPLIES 3
Ian Miller.
Honored Contributor

Re: Pending Job in Batchqueue

Unfourtunally not. You could write some DCL to do it.

As a start have a look at this which deletes
al jobs in a queue except for running ones
http://dcl.openvms.org/stories.php?story=05/05/20/0965146

Or this could be altered to delete jobs
http://dcl.openvms.org/stories.php?story=05/04/04/4429625
____________________
Purely Personal Opinion
Karl Rohwedder
Honored Contributor

Re: Pending Job in Batchqueue

If there are no other jobs, just delete and re-init the queue.

regards Kalle

Re: Pending Job in Batchqueue

I have write a dcl to delete all ENTRYS manual trough the script