[Info-vax] F$GETQUI: the mystery deepens
Phillip Helbig undress to reply
helbig at asclothestro.multivax.de
Fri Dec 7 17:29:03 EST 2018
In article <puep8r$tke$1 at dont-email.me>, Stephen Hoffman
<seaohveh at hoffmanlabs.invalid> writes:
> > It seems like SHOW QUEUE destroys the intended (at least, intended by
> > me) behaviour, but further calls to F$GETQUI somehow reset this.
> >
> > Bug or feature?
>
> This is some long-standing, documented and entirely expected DCL stupidity.
OK
> The GQC that is saved for wildcarded F$GETQUI calls is destroyed if you
> run any DCL queue-related command, such as SHOW QUEUE or SHOW ENTRY. To
> avoid this problem, use the SPAWN command to create a new process in
> which to run the DCL commands."
Interestingly, it is not completely destroyed, since my example actually
works (i.e. produces the list of queues with no repetition).
More information about the Info-vax
mailing list