COMP.OS.VMS-------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 97 из 100
 От   : Chris Townley                       2:5075/128        30 сен 23 18:34:19
 К    : Arne Vajh?j                                           30 сен 23 20:37:03
 Тема : Re: Howto can I call the undocumented "set watch/class=dir" in an own p
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> 4f926672
@REPLY: 1@dont-email.me> 91c0ea29
@REPLYADDR Chris Townley <news@cct-net.co.uk>
@REPLYTO 2:5075/128 Chris Townley
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References:
<9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com> 1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com> <684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com> <517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com> <mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com> 1@dont-email.me> 1@dont-email.me>
@TZUTC: 0100
@PID: Mozilla/5.0 (Windows NT 10.0; Win64; x64;
rv:102.0) Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
On 30/09/2023 16:32, Arne Vajh?j wrote:
> On 9/30/2023 10:03 AM, Arne Vajh?j wrote:
>> On 9/27/2023 6:45 AM, Ian Miller wrote:
>>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>>> vax...@googlemail.com wrote:
>>>> 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?
>>>>>
>>>>> 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 ?
>>  >>
>>  >> Yes, "define/super" redirects the output to a file.
>>>
>>> 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.
>>
>> Yes. But it looks like the define need to be done by DCL.
>>
>> I did a little test trying to create the mailbox and defining
>> the logical from code and I don`t think XQP does a SYS$OPEN
>> on whatever SYS$OUTPUT points to - I think it uses the
>> the first 4 bytes of the SYS$OUTPUT logical value to find a
>> reference to the file DCL already opened and just
>> SYS$PUT to that.
>>
>> And I don`t know how to stuff a reference to a newly
>> created mailbox in there programmatically.

> Or to rephrase - I can not find:
>     LIB$OPEN_PROCESS_PERMANENT_FILE

> :-)

> Arne


You could presumably set the logical with LIB$SET_LOGICAL

-- 
Chris

 --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх