Operating System - OpenVMS
1829378 Members
4912 Online
109991 Solutions
New Discussion

Deleting a batch job by its name

 
SOLVED
Go to solution
Alon Jacob
Frequent Advisor

Deleting a batch job by its name

Hi all
How can I delete a batch job only by its name and not number?
Assuming this is done from a script which I can onky give the job's name and the number is random.

Thanks.
4 REPLIES 4
Wim Van den Wyngaert
Honored Contributor

Re: Deleting a batch job by its name

You'll need to do some scripting (help lex f$getq).

Wim
Wim
Wim Van den Wyngaert
Honored Contributor
Solution

Re: Deleting a batch job by its name

Enclosed all the elements you need (extracted from a bigger script)

Wim
Wim
Joseph Huber_1
Honored Contributor

Re: Deleting a batch job by its name

In dcl.openvms.org I once submitted my abojob.com. I'm not sure if it is still o.k. there, the actual one is at
http://wwwvms.mppmu.mpg.de/vms$common/com/abojob.com

and can be used as:
@ABOJOB job_name [user [queue]]
http://www.mpp.mpg.de/~huber
Alon Jacob
Frequent Advisor

Re: Deleting a batch job by its name

Problem solved by scripting.

Wim - you're the man!!!