Discussion:
change batch queue characteristics with INIT/QUEUE
Add Reply
Phillip Helbig (undress to reply)
2017-04-30 16:12:11 UTC
Reply
Permalink
Raw Message
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?

If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
Hans Vlems
2017-04-30 17:13:55 UTC
Reply
Permalink
Raw Message
Phillip
SET QUEUE won't do?
Hans
Phillip Helbig (undress to reply)
2017-04-30 17:42:38 UTC
Reply
Permalink
Raw Message
Post by Hans Vlems
SET QUEUE won't do?
Sorry, no documentation on HELP SET QUEUE /AUTOSTART
Hans Bachner
2017-04-30 20:01:07 UTC
Reply
Permalink
Raw Message
Post by Phillip Helbig (undress to reply)
Post by Hans Vlems
SET QUEUE won't do?
Sorry, no documentation on HELP SET QUEUE /AUTOSTART
$ START /QUEUE xxx /AUTO=(a,b,c)

will do what you want.

Hope this helps,
Hans.
Phillip Helbig (undress to reply)
2017-05-01 06:08:10 UTC
Reply
Permalink
Raw Message
Post by Hans Bachner
Post by Phillip Helbig (undress to reply)
Post by Hans Vlems
SET QUEUE won't do?
Sorry, no documentation on HELP SET QUEUE /AUTOSTART
$ START /QUEUE xxx /AUTO=(a,b,c)
will do what you want.
I stopped it, then issued the command, and get

%JBC-I-ITMREMOVED, meaningless items were removed from request

but no change.
David Froble
2017-04-30 20:34:51 UTC
Reply
Permalink
Raw Message
Post by Phillip Helbig (undress to reply)
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?
If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
What's wrong with just deleting the queue and re-creating it? Assuming you
don't have entries in the queue.

Uh, you do have command files for setting up queues and such, right?
Stephen Hoffman
2017-04-30 23:01:50 UTC
Reply
Permalink
Raw Message
Post by Phillip Helbig (undress to reply)
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?
If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
Usual messing-with-the-queues sequence...

STOP/QUEUE/RESET qnam ! /RESET usually gets the attention of the
queue manager, and stops the queue

INIT/QUEUE [/whatever] qnam

START/QUEUE qnam

The queue manager is another of those areas of OpenVMS that's just a
fount of confusion. Arcane, cryptic (e.g. f$getqui), and a subsystem
ill-suited for some of its common usages, and best replaced by a more
modern analog; by a distributed scheduler or ilk. But it's what we
have, so we deal with it.
--
Pure Personal Opinion | HoffmanLabs LLC
Peter 'EPLAN' LANGSTOeGER
2017-05-01 15:16:01 UTC
Reply
Permalink
Raw Message
Post by Phillip Helbig (undress to reply)
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?
Yes (but you need to stop it)
Post by Phillip Helbig (undress to reply)
If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
I assume, you didn't really stop the queue (but pausing it).
Use STOP/NEXT (or STOP/RESET) and START/AUTO to do what you want...

In other case, please tell us exactly what you did (and what the response was)!
--
Peter "EPLAN" LANGSTÖGER
Network and OpenVMS system specialist
E-mail ***@LANGSTOeGER.at
A-1030 VIENNA AUSTRIA I'm not a pessimist, I'm a realist
David Froble
2017-05-01 16:10:05 UTC
Reply
Permalink
Raw Message
Post by Peter 'EPLAN' LANGSTOeGER
Post by Phillip Helbig (undress to reply)
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?
Yes (but you need to stop it)
Post by Phillip Helbig (undress to reply)
If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
I assume, you didn't really stop the queue (but pausing it).
Use STOP/NEXT (or STOP/RESET) and START/AUTO to do what you want...
In other case, please tell us exactly what you did (and what the response was)!
I seem to recall that STOP /ABORT was required at times.

But, I also had command files for initializing every queue ....
Phillip Helbig (undress to reply)
2017-05-01 16:43:17 UTC
Reply
Permalink
Raw Message
Post by Peter 'EPLAN' LANGSTOeGER
Post by Phillip Helbig (undress to reply)
I have a batch queue with AUTOSTART_ON pointing to three nodes. I want
to change the order of these nodes, but nothing else. Can I do this
without deleting and re-creating the queue?
Yes (but you need to stop it)
Post by Phillip Helbig (undress to reply)
If I stop it and try INIT/QUEUE, I still get the message that changes
can't be made to a running queue.
I assume, you didn't really stop the queue (but pausing it).
Use STOP/NEXT (or STOP/RESET) and START/AUTO to do what you want...
That was it!

I usually set up a queue once every few years then don't change it much
if it all.

Loading...