HP3000-L Archives

November 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Ericson <[log in to unmask]>
Reply To:
Tim Ericson <[log in to unmask]>
Date:
Tue, 17 Nov 1998 14:11:56 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
John W Pickering wrote:
>
> Is there an finfo option to detect if a file is open?
>
> Seems like finfo("filename","open") is more elegant than attempting to
> purge or rename it and then checking jcw's or the file's continued
> existence.

FINFO("filename","ACCESSORS") will tell you how many are accessing
the file, just as LISTFILE filename,8 will.  "ACCESSORS" is FINFO
option 61.

This came on PowerPatch 4, I think...

HTH!

 +-------------------------------------------------------------------+
  My mind is my own, as are my ideas and opinions.
  My heart, body, and soul, however, all belong to others.       Tim.
 +-------------------------------------------------------------------+
  Tim Ericson            tericson      DenKor Dental Management Corp.
  Sr. Systems Analyst     at denkor    503-526-4440 (my direct number)
    (& Systems Manager)     dot com         http://www.denkor.com
  Programming HP3000s since 1983!      Quality dental care since 1970!
 +-------------------------------------------------------------------+
  UDCs and Command Files:  http://www.denkor.com/hp3000/command_files
 +-------------------------------------------------------------------+

ATOM RSS1 RSS2