Access Commands
Steps to go DB2 Commands panel:
|
Display Table space Status
Type below command on DB2 Commands panel.
-tso dsn s(DB2
System Name) : This will work only if rexx is setup for TSO. (This can be issued on normal mainframe ISPF screen.)
-display
database(Database Name) spacename(TableSpace Name)
OR
-dis db(Database
name) sp(Table Space name)
|
Display from Mainframes
This is the
result of the display command presented above. The status in the below example
is “RW” -> READ WRITE. We can even see table parts of the table space in the
below table space has 15 table parts.
It shows:
- Name of Tablespace
- Type: Object of DB2
- PART: Tablespace is divided into how many parts
- Status: Status of the tablespace
- DBD length
DSNT360I -D ***********************************
DSNT361I -D *
DISPLAY DATABASE SUMMARY
* GLOBAL
DSNT360I -D ***********************************
DSNT362I -D
DATABASE = Database
Name STATUS = RW
DBD LENGTH = 819704
DSNT397I -D
NAME TYPE PART
STATUS PHYERRLO
PHYERRHI CATALOG PIECE
-------- ---- -----
----------------- -------- -------- -------- -----
Tablename TS
0001 RW
-THRU
0015
******* DISPLAY OF
DATABASE Database Name ENDED
**********************
DSN9022I -D DSNTDDIS 'DISPLAY DATABASE' NORMAL
COMPLETION
DSN
|
No comments:
Post a Comment