[Info-vax] Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

Volker Halle volker_halle at hotmail.com
Wed Sep 27 14:05:44 EDT 2023


Here is an example:

AXPVMS $ define/super sys$output xqp.txt
AXPVMS $ set watch file/class=major
AXPVMS $ dir xqp.txt
AXPVMS $ set watch file/class=nomajor
AXPVMS $ deass/super sys$output
AXPVMS $ ty xqp.txt

%XQP, Thread #0, Access  (0,0,0) Status: 00000910
%XQP, Thread #0, Access SETWATCH.EXE;1 (1110,3,0) Status: 00000001
%XQP, Thread #0, Control function  (1110,3,0) Status: 00000001
%XQP, Thread #0, Modify XQP.TXT;1 (39415,72,0) Status: 00000001
%XQP, Thread #0, Deaccess (1110,3,0) Reads: 6, Writes: 0, Status: 00000001
%XQP, Thread #0, Control function  (39415,72,0) Status: 00000001
%XQP, Thread #0, Access HALLE.DIR;1 (2955,45459,0) Status: 00000001
%XQP, Thread #0, Final status: A6000001
%XQP, Thread #0, Deaccess (2955,45459,0) Reads: 1, Writes: 0, Status: 00000001

Directory USERDISK1:[HALLE]

XQP.TXT;1

Total of 1 file.
%XQP, Thread #0, Access  (0,0,0) Status: 00000910
%XQP, Thread #0, Access SETWATCH.EXE;1 (1110,3,0) Status: 00000001
%XQP, Thread #0, Control function  (1110,3,0) Status: 00000001

Volker.



More information about the Info-vax mailing list