gtpo1mcjOperations

ZOODB DISPLAY-Display the Attributes of a Data Definition or Data Store

Use this command to display the attributes of a data definition (DD) or data store (DS), or the names of all the defined data definitions for a specific data store.

Requirements and Restrictions

You must initialize TPF collection support (TPFCS) and define the target data store before you enter this command.

Format




DS
displays one or more data stores.

dsname
is the 1- to 8-character name of the data store.

DD
displays one or more data definitions.

ddname
is the 1- to 32-character name of the data definition to be deleted.

ALL
displays the names of all defined data stores or all defined data definitions for the data store.

DSname
specifies the target data store.

Additional Information

None.

Examples

The BANK_DS data store definition is shown in the following example. The following fields describe the data store attributes of interest:

OBJECT_SEQ_CTR
indicates the number of times the data store object that contains the data store information has been updated. This number includes any changes made to the data store object when the TPF system created it.

DB_IDSNAME
is the name of the data store to which the data definition belongs.

DB_IDICT_OID
contains the PID of the data store user dictionary (DS_USER_DICT).

DB_IDICT_SYSTEM
contains the PID of the system dictionary (DS_SYSTEM_DICT) for the data store.

DB_OID_INVENTORYOID
contains the PID of the inventory collection (DS_INVENTORY) for the data store, or 0 if the data store does not have an inventory.

DB_DELETED_PID
contains the PID of the deleted PID collection (DS_DELETED) for the data store.

DB_IDICT_RECOUP
contains the PID of the DS_RECOUP collection for the data store. This collection contains information about the recoup indexes created in the data store.

DB_IDICT_BROWSER
contains the PID of the browser keysortedset for the data store. This collection contains the names and corresponding PIDs of all named collections.

DB_I_RESTARTLOG_PID
contains the PID of the restart log for the data store, or 0 if there is no restart log for the data store.

DB_DELETE_FLAG
is one of the following:

00
indicates that the data store uses delayed deletion.

01
indicates that the data store uses immediate deletion.
Note:
All fields displayed by this command are internal to TPFCS and are subject to change.
+--------------------------------------------------------------------------------+
|User:   ZOODB DISP DS BANK_DS                                                   |
|                                                                                |
|System: OODB0025I 10.33.47 START OF ATTRIBUTE DISPLAY                           |
|        PART  NAME  **********              DB_OBJ                              |
|        CLASS NAME  **                      OBJECT                              |
|        OBJECT_ID                           00000028                            |
|        OBJECT_LGH                          00000168                            |
|        OBJECT_SEQ_CTR                      00000001                            |
|        CLASS NAME  **                      ObjectPart                          |
|        OBJ_Part_CHANGE                     00                                  |
|        OBJ_Part_RELEASE                    00                                  |
|        OBJ_Part_RESERVE2                   0000                                |
|        OBJ_Part_PartID                     00000000                            |
|        OBJ_Part_OIE                        00000000                            |
|        OBJ_Part_Faddr                      00                                  |
|        CLASS NAME  **                      DB_OBJ                              |
|        DB_CHAIN_Next                       01001C58                            |
|        DB_CHAIN_Prev                       01001C58                            |
|        DB_USER_COUNT                       00000001                            |
|        DB_IDSNAME                          BANK_DS                             |
|        DB_IDICT_OID                        0202FC16 B696D9C0 C2C1D5D2 6DC4E240 |
|        ****                                08653C4D 08653C51 00000000 00000000 |
|        DB_IDICT_SYSTEM                     0202FC16 B696D9C0 C2C1D5D2 6DC4E240 |
|        ****                                08653C55 08653C59 00000000 00000000 |
|        DB_OID_INVENTORYOID                 0202FC16 B696D9C0 C2C1D5D2 6DC4E240 |
|        ****                                08653C45 08653C49 00000000 00000000 |
|        DB_DELETED_PID                      0202FC16 B696D9C0 C2C1D5D2 6DC4E240 |
|        ****                                08653C5D 08653C61 00000000 00000000 |
|        DB_IDICT_RECOUP                     0202FC16 B696D9C0 C2C1D5D2 6DC4E240 |
|        ****                                08653C65 08653C69 00000000 00000000 |
|        DB_IDICT_BROWSER                    0202FC16 B696D9C1 C2C1D5D2 6DC4E240 |
|        ****                                08653C6D 08653C71 00000000 00000000 |
|        DB_I_RESTARTLOG_PID                 0202FC16 B696D9C1 C2C1D5D2 6DC4E240 |
|        ****                                08653C75 08653C79 00000000 00000000 |
|        DB_SSNAME                           BSS                                 |
|        DB_SSINDEX                          FF00                                |
|        DB_SSUINDEX                         FF00                                |
|        DB_IOID_FORMAT                      02                                  |
|        DB_TRACE_FLAG                       Y                                   |
|        DB_DELETE_FLAG                      00                                  |
|        DB_DELOID_DELETE_DLAY                          0                        |
|        END OF DISPLAY                                                          |
|        OODB0022I 10.34.00 DISPLAY COMPLETED FOR DS BANK_DS +                   |
+--------------------------------------------------------------------------------+

A display of all data store names, the subsystem in which they reside, and the persistent identifier (PID) of their inventory collection is shown in the following example.

+--------------------------------------------------------------------------------+
|User:   ZOODB DISP DS ALL                                                       |
|                                                                                |
|System: OODB0021I 11.02.26 DATA STORE LIST DISPLAY                              |
|         DS - TPFDB       SS - BSS                                              |
|         INVENTORY - 0002FC16 AF724045 E3D7C6C4 C2404040                        |
|                     18034AD8 18034AD9 00000000 00000000                        |
|                                                                                |
|         DS - BANK1_DS    SS - BSS                                              |
|         INVENTORY - 0202FC16 AF724051 C2C1D5D2 F16DC4E2                        |
|                     18034B03 18034B04 00000000 00000000                        |
|                                                                                |
|         DS - BANK2_DS    SS - WP                                               |
|         INVENTORY - 0202FC16 AF7B94DA C2C1D5D2 F24BC4E2                        |
|                     00000000 18039398 00000000 18039399                        |
|                                                                                |
|        END OF DISPLAY                                                          |
|        OODB0022I 11.02.26 DISPLAY COMPLETED FOR DS                             |
+--------------------------------------------------------------------------------+

The example that follows shows the data definition CUSTOMER_INDEX. The following fields, which are shown in the display, can be set externally:

 DDEF_DNAME 
is the name of the data definition.

 DDEF_DSNAME 
is the name of the data store to which this data definition belongs.

 DDEF_TEMPC 
is one of the following:

 Y 
indicates that the data definition is for temporary collections.

 N 
indicates that the data definition is for persistent collections.

 DDEF_RECID_DATA 
is the record ID for data records.

 DDEF_RECID_INDEX 
is the record ID for index records.

 DDEF_RECID_DIRECT 
is the record ID for directory records.

 DDEF_SHADOW 
is one of the following:

 00 
indicates that collections using this data definition are not shadowed.

 01 
indicates that collections using this data definition are shadowed.

 DDEF_FORCE 
is one of the following:

 00 
indicates that collections using this data definition are left as compact structures.

 01 
indicates that collections using this data definition are forced into extended structures.
Note:
All fields displayed by this command are internal to TPFCS and are subject to change.
+--------------------------------------------------------------------------------+
|User:   ZOODB DISP DD CUSTOMER_INDEX DSN-BANK1_DS                               |
|                                                                                |
|System: OODB0025I 12.49.35 START OF ATTRIBUTE DISPLAY                           |
|        PART NAME                           DB_OBJ                              |
|        CLASS NAME                          OBJECT                              |
|        OBJECT_ID                           00000270                            |
|        OBJECT_LGH                          000000B0                            |
|        OBJECT_SEQ_CTR                      00000000                            |
|        CLASS NAME                          ObjectPart                          |
|        OBJ_Part_CHANGE                     00                                  |
|        OBJ_Part_RESERVE2                   000000                              |
|        OBJ_Part_PartID                     00000000                            |
|        OBJ_Part_OIE                        00000000                            |
|        DDEF_DNAME                          CUSTOMER_INDEX                      |
|        *****                                                                   |
|        DDEF_DSNAME                         BANK1_DS                            |
|        DDEF_DASDC                          Y                                   |
|        DDEF_TEMPC                          N                                   |
|        DDEF_PRTC                           N                                   |
|        DDEF_POOLC                          Y                                   |
|        DDEF_STRUCT_NAME                                                        |
|        *****                                                                   |
|        DDEF_TPFDF_NAME                                                         |
|        DDEF_RECID_DATA                     FC10                                |
|        DDEF_RECID_INDEX                    0000                                |
|        DDEF_RECID_DIRECT                   FC15                                |
|        DDEF_POOL_TYPE                      L                                   |
|        DDEF_SHADOW                         00                                  |
|        DDEF_FORCE                          00                                  |
|                                                                                |
|        OODB0027I 12.04.32 DISPLAY COMPLETED FOR DD CUSTOMER_INDEX              |
+--------------------------------------------------------------------------------+

The following example shows all the data definition names for data store BANK1_DS.

+--------------------------------------------------------------------------------+
|User:   ZOODB DISP DD ALL DS-BANK1_DS                                           |
|                                                                                |
|System: OODB0026I 11.18.32 DATA DEFINITION LIST DISPLAY                         |
|         DD - CUSTOMER_INDEX                                                    |
|         DD - DEFAULT_ARRAY                                                     |
|         DD - DEFAULT_BAG                                                       |
|         DD - DEFAULT_BYTE                                                      |
|         DD - DEFAULT_DICTIONARY                                                |
|         DD - DEFAULT_KEYBAG                                                    |
|         DD - DEFAULT_KEYEDLOG                                                  |
|         DD - DEFAULT_KEYSET                                                    |
|         DD - DEFAULT_LOG                                                       |
|         DD - DEFAULT_ORDERED                                                   |
|         DD - DEFAULT_PROPERTY                                                  |
|         DD - DEFAULT_SET                                                       |
|         DD - DEFAULT_SORTED                                                    |
|         DD - DEFAULT_TEMP_ARRAY                                                |
|         DD - DEFAULT_TEMP_BAG                                                  |
|         DD - DEFAULT_TEMP_BYTE                                                 |
|         DD - DEFAULT_TEMP_DICTIONARY                                           |
|         DD - DEFAULT_TEMP_KEYBAG                                               |
|         DD - DEFAULT_TEMP_KEYEDLOG                                             |
|         DD - DEFAULT_TEMP_KEYSET                                               |
|         DD - DEFAULT_TEMP_LOG                                                  |
|         DD - DEFAULT_TEMP_ORDERED                                              |
|         DD - DEFAULT_TEMP_SET                                                  |
|         DD - DEFAULT_TEMP_SORTED                                               |
|         DD - PRT_OUTPUT                                                        |
|        OODB0027I 12.19.07 DISPLAY COMPLETED FOR DD                             |
+--------------------------------------------------------------------------------+

Related Information