View previous topic :: View next topic
|
Author |
Message |
SVazifdar
New User
Joined: 21 Apr 2006 Posts: 14
|
|
|
|
I would like to write a REXX procedure to identify who is currently accessing a file and the mode - read, write, browse.
Any help to write the code would be greatly appreciated.
Thanks.
S. Vazifdar |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Hmm - how would you be able to determine such an event? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Something like this?
Code: |
/* REXX */
ADDRESS ISREDIT "MACRO PROCESS"
ADDRESS ISREDIT "(SESTYPE) = SESSION"
SAY 'User 'USERID()' is in 'SESTYPE' mode'
EXIT
|
By the way, this is not a procedure, but an Edit-Macro written in REXX.
O. |
|
Back to top |
|
|
|