Tracy Pierce writes
both listf,9 and listfile,access work fine for me:
--------------------------------------
Correct, but I believe Leonard would like a :listfile parameter as such.
:LISTFILE fileset,ACCESS;SELEQ=[ACCESS=WRITE]
I don't believe he wants to do the listfile,access to a file and then read the file looking for "W:1" as opposed to "W:0".
Mike Berkowitz
Guess? Inc.
HOBBES:TRACY.VMS,KTP:listf vmsdb.data,9
********************
FILE: VMSDB.DATA.VMS
9 Accessors(O:9,P:9,L:0,W:4,R:9),Share
#S4092 HHARMON.VMS P:1,L:0,W:1,R:1 REM : **
#P308 (**)
ACCESS: R,W-excl REC#: 1 FNUM: 15
LOCKS: none
#S4074 DAVIDG.VMS P:1,L:0,W:0,R:1 REM : **
#P295 (**)
ACCESS: R-excl REC#: 1 FNUM: 13
LOCKS: none
#S4072 VSORRELL.VMS P:1,L:0,W:1,R:1 REM : **
#P81 (**)
ACCESS: R,W-excl REC#: 1 FNUM: 15
LOCKS: none
#S4063 FHELBERG.VMS P:1,L:0,W:1,R:1 REM : **
#P127 (**)
ACCESS: R,W-excl REC#: 1 FNUM: 15
LOCKS: none
#S4058 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#P103 (**)
ACCESS: R-excl REC#: 1 FNUM: 13
LOCKS: none
#S4057 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#P265 (**)
ACCESS: R-excl REC#: 1 FNUM: 13
LOCKS: none
#S4056 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#P120 (**)
ACCESS: R-excl REC#: 1 FNUM: 13
LOCKS: none
#S4055 RMOWRY.VMS P:1,L:0,W:1,R:1 REM : **
#P181 (**)
ACCESS: R,W-excl REC#: 1 FNUM: 15
LOCKS: none
#S4054 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#P262 (**)
ACCESS: R-excl REC#: 1 FNUM: 13
LOCKS: none
HOBBES:TRACY.VMS,KTP:listfile vmsdb.data,access
********************
FILE: VMSDB.DATA.VMS
9 Accessors(O:9,P:9,L:0,W:4,R:9),Share
#S4092 HHARMON.VMS P:1,L:0,W:1,R:1 REM : **
#S4074 DAVIDG.VMS P:1,L:0,W:0,R:1 REM : **
#S4072 VSORRELL.VMS P:1,L:0,W:1,R:1 REM : **
#S4063 FHELBERG.VMS P:1,L:0,W:1,R:1 REM : **
#S4058 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#S4057 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#S4056 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
#S4055 RMOWRY.VMS P:1,L:0,W:1,R:1 REM : **
#S4054 RMOWRY.VMS P:1,L:0,W:0,R:1 REM : **
HOBBES:TRACY.VMS,KTP:
> -----Original Message-----
> From: Michael Berkowitz [mailto:[log in to unmask]]
> Sent: Thursday, May 01, 2003 11:05 AM
> To: [log in to unmask]
> Subject: Re: MPEX: OPENED vs OPENED for writing
>
>
> donna garverick writes
>
> -
>
> "Leonard S. Berkowitz" wrote:
>
> > What we really care about is whether the data base is open for =
> writing. Is there a way to check
> > this?
>
> listfile,access will do this just fine...just ci....no
> mpex.... =
> - d
> -----------------------------------------------------------
> Nope. listfile,access shows opened files, read and/or write.
>
> :LISTFILE A2100S.SRC.XXX,ACCESS
> ********************
> FILE: A2100S.SRC.XXX
> 1 Accessor(O:1,P:1,L:0,W:0,R:1),Share <<--- NOTE ONLY READ ACCESS
> #S245 MB,MGR.XXXX P:1,L:0,W:0,R:1 REM : =
> 172.XX.XXX.XXX
>
> Changing to read and write
> :LISTFILE A2100S.SRC.DEV,ACCESS
> ********************
> FILE: A2100S.SRC.XXX
> 1 Accessor(O:1,P:1,L:0,W:1,R:1),Share <<--- NOW READ AND
> WRITES (CHECK =
> THE W:)
> #S245 MB,MGR.XXXX P:1,L:0,W:1,R:1 REM : =
> 172.XX.XXX.XXX
>
> Mike Berkowitz
> Guess? Inc.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|