HP3000-L Archives

September 1997, Week 2

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:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Tue, 9 Sep 1997 06:23:55 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (103 lines)
At 11:47 AM 9/9/97 +0100, Mark Wilkinson wrote:
>Can anyone tell me how to find out programmatically whether DDX has been
>enabled for a given Turboimage dataset? Was Mode 202 enhanced to give this
>information?

Mark,

For detail datasets, DBINFO mode 205, which is an expansion of mode 202,
provides the information you seek.  Basically the qualifier is either the
dataset name or number.  Specifically, examine half-word 27 to determine
if the detail set has DDX enabled:


-----------------------------------------------------
|              |                                    |
|   Element    |              Contents              |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|     1-8      | Data set name                      |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      9       | One of the following set types     |
|              | followed by a blank:               |
|              |                                    |
|              |                                    |
|              |        M, A, D                     |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      10      | Entry length                       |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      11      | Blocking factor                    |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      12      | 0                                  |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      13      | 0                                  |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    14-15     | Number of entries in set           |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    16-17     | Capacity of set                    |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    18-19     | High-water mark                    |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    20-21     | Maximum capacity                   |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    22-23     | Initial capacity                   |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|    24-25     | Incremental number of entries      |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      26      | Incremental percent                |
|              |                                    |
-----------------------------------------------------
|              |                                    |
|      27      | Dynamic capacity expansion flag    |
|              | (0 = off, 1 = on)                  |
|              |                                    |
-----------------------------------------------------


For master datasets, there will be a new DBINFO mode 208 to return the
DDX information related to the upcoming master dataset dynamic expansion.
Although HP has not yet released this enhancement (DDX:M), it is
documented in the updated IMAGE manual which will be released with
Express-3 scheduled for mid/late September (per HP's announcements at
HPWorld).



/jf
                              _\\///_
                             (' o-o ')
___________________________ooOo_( )_OOoo____________________________________

         This day in 1776 - Congress adopted the name "United States".
                     1850 - California became the 31st state.
___________________________________Oooo_____________________________________
                            oooO  (    )
                           (    )  )  /
                            \  (   (_/
                             \_)

ATOM RSS1 RSS2