[Info-vax] F$GETQUI: the mystery deepens
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Fri Dec 7 16:38:35 EST 2018
On 2018-12-07 19:35:53 +0000, Phillip Helbig (undress to reply said:
> 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.
Quoth the f$getqui docs:
"Restriction
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."
Various previous discussions...
https://groups.google.com/d/msg/comp.os.vms/CEknbPgrbp8/jbRNf_koV2MJ
https://groups.google.com/d/msg/comp.os.vms/HsBwKGUmS6Y/2iNt25riRswJ
https://groups.google.com/d/msg/comp.os.vms/HsBwKGUmS6Y/9Mq4SFkHzaoJ
https://groups.google.com/d/msg/comp.os.vms/hrI93lgdRfU/Uva7nj8L5JYJ
https://groups.google.com/d/msg/comp.os.vms/sG7Rgqo3QoY/xjNP3Sxp47wJ
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list