Subject: | |
From: | |
Reply To: | |
Date: | Thu, 7 Nov 1996 11:50:43 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
<plug>
If you have MPEX (and if not, why not? it's not expensive; it's very,
very, versatile), you can use the OPENED file attribute on a LISTF and
then check the variable MPEXNUMSUCCEEDED.
Leonard Berkowitz
RIA Group (Warren, Gorham & Lamont)
(617) 292-8349 (E. S. T.)
______________________________ Reply Separator _________________________________
Subject: FINFO - How can I determine if a file is in use?
Author: Rodney Behrendorff <[log in to unmask]> at Internet-Exchange
Date: 11/07/96 2:14 PM
Does anyone know of a simple way to detect if a particular file is in use
(MPE/iX 5.00 on HP3000)? I want a job (or command for that matter) to
bypass certain steps if a file is being accessed, but FINFO doesn't seem
to provide this information. "LISTF ,3" shows what I want to know under
"FLAGS:", and even "LISTF ,2" has an asterisk after the filename that
tells me enough information.
I could write my own command or code that would redirect the output of a
"LISTF ,2" to a file, and then scan that file for the relevant asterisk.
But I am hoping that I have missed a much more straigtforward way of
doing this.
Many thanks,
------------------------------------------------------------------
Rodney Behrendorff Email: [log in to unmask]
Information Technology Services Telephone: +61 (076) 312621
University of Southern Queensland Fax: +61 (076) 312798
TOOWOOMBA QLD 4350 AUSTRALIA
------------------------------------------------------------------
|
|
|