Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DATABASES

VERSIONS

PRIVILEGES

USERS

MONITOR

DICTIONARY

ALL

CONSTRAINTS

RELATIONS

FIELDS

INDEXES

PROTECTION

TRANSACTION

STORAGE_AREA

STORAGE_MAP

TRANSFER

RDB/VMS Relational Database Operator SHOW — VMS CDD+_4.1A

 Displays information about the database and database elements.

Additional information available:

DATABASESVERSIONSPRIVILEGESUSERSMONITOR
DICTIONARYALLCONSTRAINTSRELATIONSFIELDS
INDEXESPROTECTIONTRANSACTIONSTORAGE_AREA
STORAGE_MAPTRANSFER

DATABASES

 SHOW DATABASES ───┬───────────────────┬───>
                   ├──> 
A

L

L
───────────┤ └──┬──> db-name ──┬─┘ └─────── , <───┘ Shows the currently invoked database file names, with their associated database handles. SHOW DATABASES ALL displays the path name of all databases defined at the current directory in the data dictionary. You do not have to invoke a database before you use the SHOW DATABASES ALL statement.

VERSIONS

 SHOW VERSIONS

 Displays all versions of the Rdb/VMS components you are running.

PRIVILEGES

 SHOW PRIVILEGES FOR ───┬──> 
D

A

T

A

B

A

S

E
────────────────────┬───> ├──> 
R

E

L

A

T

I

O

N
──> relation-name ──┤ └──> 
V

I

E

W
──────> view-name ──────┘ Displays the access control list entry when Rdb/VMS matches your UIC with the identifier specified in the ACL entry. Although your UIC may match many ACL entries, Rdb/VMS stops when it finds the first match and grants you those access rights.

USERS

 SHOW USERS ────┬──────────────────────────────┬─>
                ├─> 
I

N

D

A

T

A

B

A

S

E
──> db-handle ─┤ └─> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
──────────┘ Displays information about active database users on a VAXcluster node.

MONITOR

 SHOW MONITOR


 Displays information about the Rdb/VMS monitor and users attached to
 a database.

DICTIONARY

 SHOW DICTIONARY


 Shows the current default directory in the data dictionary.

ALL

 SHOW ALL ────┬──────────────────────────────┬───>
              ├───> 
I

N
─┬─> db-handle ────┬──┤ │ └────── , <───────┘ │ └───> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
────────┘ Shows all the current information about the currently invoked databases.

CONSTRAINTS

 SHOW CONSTRAINTS ───────────────────────────────>────────────────┐
  ┌─────────────────────────<─────────────────────────────────────┘
  └────┬─────────────────────────────────────────>──────────────┬─┐
       ├──> 
A

L

L
─────────────────────────────────>──────────────┤ │ ├──> 
S

Y

S

T

E

M
──────────────────────────────>──────────────┤ │ ├──> 
U

S

E

R
────────────────────────────────>──────────────┤ │ ├──┬──> name ────┬────────────────────────>──────────────┤ │ │ └───── , <────┘ │ │ └──> 
F

O

R
───────┬──┬─> relation-name ──┬─┬──────────────┘ │ │ └─> view-name ──────┘ │ │ └───────────── , ────<───┘ │ │ ┌─────────────────────────<───────────────────────────────┘ │ └──┬───────────────>───────────┬─────────────> ├──> 
I

N
─┬─> db-handle ──┬──┤ │ └────── , <─────┘ │ └──> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
──────┘ Lists the names and definitions of constraints.

RELATIONS

 SHOW RELATIONS ─┬────────────┬─┬─────────────────────────┬─>
                 ├─> 
A

L

L
─────┤ ├─> 
I

N
──┬─> db-handle ──┬┤ ├─> 
S

Y

S

T

E

M
──┤ │ └─────── , <────┘│ ├─> 
U

S

E

R
────┤ └─> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
─────┘ └─┬─> name ─┬┘ └──── , <─┘ Lists the names of the relations.

FIELDS

 SHOW FIELDS  ───────────────────────────────────>────────────────┐
  ┌─────────────────────────<─────────────────────────────────────┘
  └────┬─────────────────────────────────────────>──────────────┬─┐
       ├──> 
A

L

L
─────────────────────────────────>──────────────┤ │ ├──> 
S

Y

S

T

E

M
──────────────────────────────>──────────────┤ │ ├──> 
U

S

E

R
────────────────────────────────>──────────────┤ │ ├──┬──> name ────┬────────────────────────>──────────────┤ │ │ └───── , <────┘ │ │ └──┬─────────────┬─> 
F

O

R
───┬──┬─> relation-name ──┬─┬─>─┘ │ └┬─> name ───┬┘ │ └─> view-name ──────┘ │ │ └──── , <───┘ └───────────── , ────<───┘ │ │ ┌─────────────────────────<───────────────────────────────┘ │ └──┬───────────────>───────────┬─────────────> ├──> 
I

N
─┬─> db-handle ──┬──┤ │ └────── , <─────┘ │ └──> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
──────┘ SHOW FIELDS lists the globally defined fields and their attributes. SHOW FIELDS FOR relation-name lists the local names of the fields and their locally defined attributes within the relation.

INDEXES

 SHOW INDEXES ───────────────────>────────────────┐
  ┌─────────────────────────<─────────────────────┘
  └────┬─────────────────────────>──────────────┬─┐
       ├──> 
A

L

L
─────────────────>──────────────┤ │ ├──> 
S

Y

S

T

E

M
──────────────>──────────────┤ │ ├──> 
U

S

E

R
────────────────>──────────────┤ │ ├──┬──> name ────┬────────>──────────────┤ │ │ └───── , <────┘ │ │ └──> 
F

O

R
───┬────> relation-name ─────┬──┘ │ └───────────── , ────<────┘ │ ┌────────────────<───────────────────<─────┘ └───┬───────────────>───────────┬─────────────> ├──> 
I

N
─┬─> db-handle ──┬──┤ │ └────── , <─────┘ │ └──> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
──────┘ Shows the names and definitions of indexes.

PROTECTION

 SHOW PROTECTION FOR ─┬─> 
D

A

T

A

B

A

S

E
───────────────────┬─> ├─> 
R

E

L

A

T

I

O

N
──> relation-name ─┤ └─> 
V

I

E

W
──────> view-name ─────┘ Displays the access control list for the named database, relation or view.

TRANSACTION

 SHOW TRANSACTION


 Displays information about the transaction mode, transaction id
 (TID), transaction sequence number (TSN), and, for READ_WRITE
 transactions, the status of updates and the full recovery-unit
 journal (RUJ) file specification.

STORAGE_AREA

 SHOW STORAGE AREAS ───────────────>──────────────────┐
 ┌───────────────────────<────────────────────────────┘
 └───────┬──────────────>──────────────┬──────────────┐
         ├────> 
A

L

L
────────>──────────┤ │ └──┬─> storage-area-name ──┬──┘ │ └──────<───── , <───────┘ │ │ ┌────────────────────────<───────────────────────────┘ └─────┬───────────────────>─────────────┬────────────────────> ├───> 
I

N
───────> db-handle ──────┤ └───> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
───────────┘ Displays information about storage areas.

STORAGE_MAP

 SHOW STORAGE MAPS ──────────────────────────────>────────────────┐
  ┌─────────────────────────<─────────────────────────────────────┘
  └────┬─────────────────────────────────────────>──────────────┬─┐
       ├──> 
A

L

L
─────────────────────────────────>──────────────┤ │ ├──┬──> name ────┬────────────────────────>──────────────┤ │ │ └───── , <────┘ │ │ └──┬─────────────┬─> 
F

O

R
───┬────> relation-name ────┬─>─┘ │ └┬─> name ───┬┘ │ │ │ └──── , <───┘ └───────────── , ────<───┘ │ │ ┌─────────────────────────<───────────────────────────────┘ │ └──┬───────────────>───────────┬─────────────> ├──> 
I

N
─┬─> db-handle ──┬──┤ │ └────── , <─────┘ │ └──> 
I

N

A

L

L

D

A

T

A

B

A

S

E

S
──────┘ Displays information about storage maps.

TRANSFER

 [VAX Data Distributor]

 To get HELP on the SHOW TRANSFER statement, see the entry for
 SHOW_TRANSFER under the main topic Data_Distrib.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026