Subject: | |
From: | |
Reply To: | |
Date: | Fri, 15 Nov 1996 15:39:35 EST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Fri, 15 Nov 1996 11:03:00 -0600,
"Martin.Lemont" <[log in to unmask]> writes:
> Use the DBFINO call.
And on Fri, 15 Nov 1996 09:04:27 -0800, [log in to unmask]
writes:
>The DBINFO TurboImage intrinsic uses modes '8nn' to return information
>re: TPI-enabled databases. The TurboImage Reference Manual refers
>users to the TPI vendor's documentation re: appropriate use of DBINFO
>for their product(s). In Superdex' case, DBINFO mode 803 is used to
>determine if TPI is enabled on the database.
Well, now, according to the HP Specifications for TPI:
DBINFO (base, qualifier, mode, status, buffer)
Mode 801 Returns information on third party indexing
package installed on this database (if any).
Qualifer: Ignored
Buffer: 1-20 Product Name (blank if none installed)
21-25 Version Number
26-27 Date of current installation on
database (CALENDAR format)
28-29 Time of current installation on
database (CLOCK format)
Mode 803 Indicates if TPI is enabled for the database.
Qualifier: Ignored
Buffer: 1 Binary zero if TPI is not enabled
and binary one if TPI is enabled.
I used this in a software system to determine if TPI was enabled, and if so,
what type it was. I did this by calling DBINFO Mode 803 to first determine
if TPI was enabled or not. If TPI was enabled, I then called DBINFO mode 801
to determine which TPI was being used.
Hope this helps.
Jim Phillips Manager of Information Systems
E-Mail: [log in to unmask] Therm-O-Link, Inc.
Phone: (330) 527-2124 P. O. Box 285
Fax: (330) 527-2123 Garrettsville, Ohio 44231
|
|
|