HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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