At 03:28 PM 1/24/98 -0500, Booth Martin wrote:
>How do I find out if a file is locked?  I would like the first action in a
>CL program to be to check and see if a file is locked, and if it is, turn
>on Indicator 31.  


Just try to allocate the file yourself with a wait of 0 seconds. If the 
allocation fails, the escape message will tell you why (there are other reasons 
that an allocation request can fail).


Pete Hall

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "".
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].