[Info-vax] Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?
Ian Miller
gxys at uk2.net
Wed Sep 27 06:45:56 EDT 2023
On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1, vax... at googlemail.com wrote:
> Yes, "define/super" redirects the output to a file.
> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
> > Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15 UTC+2:
> >
> >> So the question is what output channel is been used by QXP?
> > Eberhard,
> >
> > the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT call.
> >
> > By default SYS$OUTPUT is a supervisor mode confined logical name, which points to the 'terminal device'.
> >
> > Question: can this be re-directed ?
> >
> > Volker.
> > _______________________________________________
> > Info-vax mailing list
> > Info... at rbnsn.com
> > http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
> >
You can create a mailbox, define SYS$OUTPUT to that mailbox then read the mailbox to see the file watch messages from the XQP. Of course you see everything that is sent to SYS$OUTPUT but the XQP File Watch messages all start with %XQP so can be detected.
More information about the Info-vax
mailing list