HP 3000 Manuals

DISPLAY BASE [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

DISPLAY BASE 

Displays information for specific databases.

Syntax 

{DISPLAY BASE} [base_name]
{DB          }
Parameters 

base_name        The database name from which to display information.
                 This can be a database defined in either the current or
                 global system.  If you omit this parameter, TRANDEBUG
                 displays information for all databases defined in the
                 current system.

Discussion 

This command provides information about a particular database in the
system.  Information can only be obtained for databases defined in the
current or global system.  This coincides with the Transact/iX philosophy
pertaining to database scoping.  A database can be accessed in a system
only if it is defined in the current or global system.

Example 

The following example displays information about a single database.

     TRANDEBUG> DISPLAY BASE base1 

     BASE1("PASS1",1,0,HP3000_16)
       OPEN STATUS: OPEN
       LOCK STATUS: LOCKED   LOCK TYPE: BASE LEVEL

The following example displays information about three databases.  The
database password is only displayed when the user enters the database
name.  The database password is not displayed if it is hard coded in the
application.

     TRANDEBUG> DISPLAY BASE 

     BASE1("PASS1",1,0,HP3000_16)
       OPEN STATUS: OPEN
       LOCK STATUS: LOCKED   LOCK TYPE: BASE LEVEL

     BASE2("********",1,0,HP3000_32)
       OPEN STATUS: CLOSED
       LOCK STATUS: UNLOCKED

     BASE3("PASS1",1,0,HP3000_16)
       OPEN STATUS: OPEN
       LOCK STATUS: LOCKED   LOCK TYPE: BASE LEVEL



MPE/iX 5.0 Documentation