HP3000-L Archives

August 1996, Week 4

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:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Michael D. Hensley
Date:
Tue, 27 Aug 1996 20:15:32 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
On or about Mon, 19 Aug 1996 11:21:08 -0400, [log in to unmask] wrote:
 
>I found FILUSERS.UTIL.LPS that does what the MPEX LISTF file,ACCESS
>does.  I have no idea of the provenance of this program.  UTIL.LPS is a
>freebie group for users of LUND software.
 
>Leonard Berkowitz
>RIA Group (Warren, Gorham & Lamont)
 
First, sorry I'm so far behind in reading/responding to this post.
Here's the full scoop on FILUSERS.
 
SOS/3000 includes a screen which is supposed to show who is accessing
a file.  It gets this information via calls to several AIFs.  However,
due to a problem with the CCS/C compiler, SOS sometimes erroneously
reports that the file doesn't exist.  How do I know it is a CCS/C bug?
Easy: I ported the code the HP/C compiler and it works.  The test
program I created, which can be compiled via either CCS/C or HP/C, is
named FILUSERS.  I put it on our tape for the convenience of those
customers who don't have MPEX, and who have problems with the built-in
SOS screen.  Side note: FILUSERS only works on MPE/iX 5.0 and later;
we have a program named FILUSR40 for those of you on MPE/iX 4.0.
 
BIG GIANT CAVEAT: the AIF manual says that the particular call which
returns information about who has a file open doesn't work for
"compatibility mode files".  No, they don't explain what that means.
 
If I recall correctly, Eugene mentions somewhere in the MPEX manual
that %LISTF,ACCESS was one of the hardest things he had to do.  I
suggest, if you *really* need to know who has a file open, you use
MPEX.  I *think* all of the free stuff uses the AIFs, which are no
where near as reliable (for this function).
 
<PLUG-ALERT / product status note>
For those of you who want to know why I don't just re-compile SOS with
the HP/C compiler and solve the problem:
 
There are *many* differences between the two compilers, even when they
are both run in ANSI mode (most, but not all, of these differences are
in the extensions needed to support MPE INTRINSICS).  The biggest
difference is that CCS/C supports 64-bit integers and HP/C does not.
 
However, despite all that, I expect to have an HP/C version of SOS by
the end of this year.
 
Thanks!
 
---
Michael D. Hensley           | [log in to unmask] (personal)
Software Development Manager | [log in to unmask]     (business)
Lund Performance Solutions   | http://www.lund.com

ATOM RSS1 RSS2