The SHOW command displays information contained in the Global Directory about names, regions, and segments.
The format of the SHOW command is:
SH[OW] -N[AME] [name-space]
SH[OW] -R[EGION] [region-name]
SH[OW] -S[EGMENT] [segment-name]
SH[OW] -M[AP] [R[EGION]=region-name]
SH[OW] -T[EMPLATE]
SH[OW] -A[LL]
The object-type is optional. -MAP, -TEMPLATE, and -ALL are special qualifiers that cause selected portions of the Global Directory to be displayed as follows:
-MAP: Displays the current mapping of all names, regions, segments, and files. This qualifier corresponds to the section of the SHOW report titled ***MAP***. The output of a SHOW -MAP may be restricted to a particular region by specifying a -REGION qualifier with a region name argument.
-TEMPLATE: Displays the current region and segment templates. This qualifier corresponds to the section of the SHOW report titled ***TEMPLATES***.
-ALL: Displays the entire Global Directory. This qualifier corresponds to displaying "all" sections of the SHOW report: ***TEMPLATES***, ***NAMES***, ***REGIONS***, ***SEGMENTS***, ***MAP***.
By default, SHOW displays -ALL.
If you want to print the Global Directory, create a log file by executing LOG -ON= before executing the SHOW command. The -LOG command captures all the commands entered and output. You can print the log file if you want a hard copy record. This command displays only the TEMPLATE section of the Global Directory similar to the following:
Example:
GDE> show -template
*** TEMPLATES ***
Def Rec Key Null
Region Coll Size Size Subs Journaling
------------------------------------------------------------------
<default> 0 256 64 N N
Segment Active Acc Typ Block Alloc Exten Options
------------------------------------------------------------------
<default> * BG DYN 1024 100 100 GLOB =1024
LOCK = 40
<default> MM DYN 1024 100 100 DEFER
LOCK = 40
*** TEMPLATES ***
Def Rec Key Null
Region Coll Size Size Subs Journaling
------------------------------------------------------------------
<default> 0 256 64 N N
Segment Active Acc Typ Block Alloc Exten Options
------------------------------------------------------------------
<default> * BG DYN 1024 100 100 GLOB =1024
LOCK = 40
<default> MM DYN 1024 100 100 DEFER
LOCK = 40