HP3000-L Archives

April 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:
Mike Hornsby <[log in to unmask]>
Reply To:
Mike Hornsby <[log in to unmask]>
Date:
Mon, 20 Apr 1998 08:53:29 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (69 lines)
First, to find all of the Image databases you need to perform some type of
listf command. Since all Image databases must have at least one dataset you
can start with @[log in to unmask]@01. But this method does have some problems: directory
problems can abort a listf, and MANMAN amoung others has a curious naming
convention, so it is very likely that you will come across datasets with
repeating 0101s.

The second phase of actually getting the data has three options: One method
is to use SM and PM to open the root file and parse out the set and item
tables directly. This method is the most direct but be warned that you will
come across various versions of Image that have various table formats.

The second method is to use Query or your own program that calls DBINFO to
extract the data. This method only works if you can logon as the creator for
each database. In Orlando (IMHO the last great INTEREX) I gave a paper that
included this method. On the old MPE/V systems HP included a program called
TMPCONVP.CONVALL.SYS that really was the XLOGON program. On MPE/ix systems
VESOFT still offers this functionality. Are there any other versions of
XLOGON?

Finally, and probably your best bet, is to build a driver script for ADAGER
or some other Image utility that will allow you to extract the data you
want.

[log in to unmask]

-----Original Message-----
From: Michael Anderson <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Monday, April 20, 1998 7:25 AM
Subject: Image DBOPEN/Security


>I looking for some advice, or to be pointed in the right direction, to
>solve a particular Image DBOPEN/Security Issue.
>
>My task is: To write a program that will run as MANAGER.SYS(PM MODE),
>and find all Image Database on the System, in every account. Then open
>each one, and using DBINFO, build a report of all Search Items, and all
>Sort Items, in every Database.
>
>My problem is: How am I going to open databases that exist in other
>accounts, with MPE Security in the way, and not knowing the Image
>Password?
>
>My first thoughts were to use FLABELINFO to get the creator of the ROOT
>FILE, and then use an AIF call to become that USER, then call DBOPEN
>using ";" as the password.
>
>Does anyone have any experiences with similar solutions, or know of any
>reason that this won't work?
>
>I don't have an AIF manual with me, because I am working from a remote
>site. Monday I will drive into work and look at the manual, searching
>for the particular AIF call that will do this. To save me some time,
>does anyone know the name of the routine, an possibly a brief
>explanation of the required parms?
>
>All help will be very appreciated,
>
>Thanks,
>Michael Anderson.
>---------------------------------------------------------------------------
--
>
>Contractor, Working in behalf of:
>TIW Corporation.
>TIW:(713) 729-2110 Ext: 116

ATOM RSS1 RSS2