1752351 Members
6019 Online
108787 Solutions
New Discussion юеВ

Inconsistent queue type

 
Wim Van den Wyngaert
Honored Contributor

Inconsistent queue type

I have a queue G1 that is a generic queue pointing to queues Q1 and Q2.

I have a 9100 telnet symbiont queue Q1 and Q2.

I have a 9100 telnet symbiont queue Q3.

I want to do a assign/queue Q3 Q2
but I get the message "inconsistent queue type".

WHY ?

Wim
Wim
9 REPLIES 9
Marc Van den Broeck
Trusted Contributor

Re: Inconsistent queue type

Wim,

isn't it because Q2 is an execution queue and not a logical queue?

Rgds
Marc
Wim Van den Wyngaert
Honored Contributor

Re: Inconsistent queue type

Btw : if I delete queue G1, it works.

VMS 7.3 but also 6.2 1h3, tcpip 5.3 eco 2.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: Inconsistent queue type

Marc,

Q2 is a printer queue just as Q3.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: Inconsistent queue type

Here are the setups.

SPVMX2/MGRWVW>set prompt ="$ "
$ sh que g1/fu
Generic printer queue G1, stopped
/GENERIC=(Q1,Q2) /OWNER=[SYSMGR,SYSTEM]
/PROTECTION=(S:M,O:D,G:R,W:S)

$ sh que q2/fu
Printer queue Q2, idle, on SPVCS2::"Q2:9100",
mounted form DEFAULT
/AUTOSTART_ON=(SPVCS2::"Q2:9100",SPVMX2::"Q2:9100)
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /LIBRARY=TALLY Lowercase
/OWNER=[SYSMGR,SYSTEM] /PROCESSOR=TCPIP$TELNETSYM
/PROTECTION=(S:M,O:D,G:R,W:S) /RETAIN=ERROR /SCHEDULE=(NOSIZE)
/SEPARATE=(FLAG)

$ sh que q3/fu
Printer queue Q3, idle, on SPVCS2::"Q3:9100",
mounted form DEFAULT

/AUTOSTART_ON=(SPVCS2::"Q3:9100",SPVMX2::"Q3:9100)
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /LIBRARY=TALLY Lowercase
/OWNER=[SYSMGR,SYSTEM] /PROCESSOR=TCPIP$TELNETSYM
/PROTECTION=(S:M,O:D,G:R,W:S) /RETAIN=ERROR /SCHEDULE=(NOSIZE)
Wim
Wim Van den Wyngaert
Honored Contributor

Re: Inconsistent queue type

And a 2nd question. Why are generic queues excluded from assign/queue ?

Wim
Wim
Camiel
Frequent Advisor

Re: Inconsistent queue type

Hello Wim,

I think the following is happening:

When you assign/queue q3 q2, q2 effectively becomes a logical queue pointing to q3.

This is no problem if nothing else is pointing to q2, but because g1 is using q2, q2 is required to remain an actual output queue, because generic queues only accept "real" output queues.

As to why it was designed this way? Why generic queues can't be assigned to another queue? Beats me... You'd have to ask the VMS developers...

Camiel.
Vladimir Fabecic
Honored Contributor

Re: Inconsistent queue type

Looks like Q2 is "locked" while in generic queue. And also looks like this is a normal behavier. It has some logic to me, expecially in cluster envirement.
In vino veritas, in VMS cluster
Wim Van den Wyngaert
Honored Contributor

Re: Inconsistent queue type

Logic ???

If you stop a queue you should be able to redirect ANYTHING, imo.

Wim
Wim
Daniel Fernandez Illan
Trusted Contributor

Re: Inconsistent queue type

Wim
I think that you need initialize Q3 using /NOENABLE_GENERIC qualifier.
Saludos.
Daniel.