Article View: vmsnet.internals
Article #313RE: SET WATCH
From: Hunter Goatley
Date: Thu, 01 Oct 1992 11:14
Date: Thu, 01 Oct 1992 11:14
50 lines
2252 bytes
2252 bytes
Graham Evans <"CCF::GPE%hermes.mod.uk"@relay.MOD.UK> writes:
>
>Ian Kitching (systimk@uk.ac.anglia.va) wrote:
>
>>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.
>
>I can confirm that SET WATCH FILE still works under VMS 5.4-3 and A5.5. Perhaps
>they have changed the cell which is used?
>
No, it's still PIO$GW_DFPROT. The following comments were taken from
one of the programs in Lee Gleason's KEYS utility. (KEYS lets you
define "process-permanent" control keys to do things like toggle
VERIFY, toggle SET WATCH FILE settings, etc. I just tried it under
VMS v5.5-1 and it worked fine.
;+
; data displayed on use of this routine depends on the bits
; set in pio$gw_dfprot. The value I used (^X2B) turns on
; just a few displays. If this is more or less than you want,
; change every following occurrence of ^X2B with a bit
; mask more to your liking.
;
; Bit 0 Major functions
; Bit 1 Control functions
; Bit 2 Read or Write file attributes
; Bit 3 Directory operations
; Bit 4 Display entire FIB on every operation
; Bit 5 Disk Quota functions
; Bit 6 ...No apparent effect...
; Bit 7 ...Likewise...
;-
You can get KEYS via anonymous ftp from ftp.spc.edu ([192.107.46.27]).
You'll need:
[.MACRO32]LZDCMP.EXE
[.MACRO32.SAVESETS]KEYS.BCK_Z
To get KEYS via e-mail, send the following command in the body of a
mail message to FILESERV@WKUVX1.BITNET:
SEND KEYS
Hunter
------
Hunter Goatley, VMS Systems Programmer, Western Kentucky University
goathunter@WKUVX1.BITNET, 502-745-5251
Technical Details
Message-ID:
<009616E1.9AEBDD80.20263@WKUVX1.BITNET>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!news.service.uci.edu!unogate!mvb.saic.com!macro32Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!news.service.uci.edu!unogate!mvb.saic.com!macro32 From: Hunter Goatley <goathunter@WKUVX1.BITNET> Newsgroups: vmsnet.internals Subject: RE: SET WATCH Message-ID: <009616E1.9AEBDD80.20263@WKUVX1.BITNET> Date: Thu, 01 Oct 1992 07:14:32 EDT Organization: Macro32<==>Vmsnet.Internals Gateway X-Gateway-Source-Info: Mailing List Lines: 50