🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.internals
Article #310

re: SET WATCH

#310
From: Ian Kitching System Manager
Date: Thu, 01 Oct 1992 11:02
28 lines
1454 bytes
>Does anyone know how SET WATCH FILE works? By that I mean specifically the DCL
>command - what have I actually changed if I type SET WATCH FILE/CLASS=blah ?
>Is it as simple as setting a few flag bits in the process space?

(This applies to VMS V5.0 - V5.4-2.)

SET WATCH FILE modifies flags in the P1 cell PIO$GW_DFPROT via a $CMEXEC call.

*Supposedly* this cell used to hold the process default protection but is
now obsolete (spare).

Flag bits:      0 - major
                1 - control
                2 - attribute
                3 - dir ops
                4 - dump (misc things)
                5 - quota

The messages are written via supervisor-mode ASTs to SYS$OUTPUT.

However... I know SET WATCH FILE worked under VMS V5.0 but it hasn't worked
for me since V5.2. I've eliminated lack of CMEXEC privilege as the problem.
SDA shows the cell as containing %Xfa00 - an appropriate value for process
default protection. When I use SET WATCH FILE the cell doesn't change.

Any ideas?

Ian Kitching    systimk@uk.ac.anglia.va
Technical Details
Message-ID: <8435551@MVB.SAIC.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!macro32

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!macro32
From: "Ian Kitching, System Manager"
Newsgroups: vmsnet.internals
Subject: re: SET WATCH
Message-ID: <8435551@MVB.SAIC.COM>
Date: Thu, 1 Oct 92  12:02 BST
Organization: Macro32<==>Vmsnet.Internals Gateway
X-Gateway-Source-Info: Mailing List
Lines: 28