HP3000-L Archives

December 2005, 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:
"Miller, Keven" <[log in to unmask]>
Reply To:
Miller, Keven
Date:
Mon, 19 Dec 2005 12:25:41 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Fox 11:print sbase.doc
SBASE

   This routine will show all DATABASEs currently opened and allow
you to look at LOCKS or USERS of any one or all of them.  The output
is the same as in DBUTIL.
It uses PRIV mode to call an internal IMAGE intrinsic called
DBLOCKINFO through procedures in SL.PUB.

SBASE45 is for MPE-4 and MPE-5 non-TURBO.
SBASE is for UMIT, TURBO IMAGE




 From the CSL there is this utility that calls the internal routine
DBLOCKINFO. In which it basically writes the same thing you see
from DBUTIL's SHOW USERS or SHOW LOCKS commands to an output file.


PROCEDURE DBLOCKINFO(DBF,OUTF,MODE,STAT);
   INTEGER                OUTF,MODE      ;
   ARRAY              DBF          ,STAT ;
   OPTION EXTERNAL                       ;



You would have to parse the file to get your information.
My source is in SPL and does other PRIVMODE things. I believe
someone else (Jeff Kell ?) has a native mode version as well.

Keven Miller
[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2