Selecting data sets from table spaces
You can select a table space to move all the data sets from the space, or drill down to view specific data sets for the space.
About this task
To select data sets from the table space level, type 2 on the Specify Dataset Selection Type input line and press Enter. The Specify Tablespace Selection window appears.
The Specify Tablespace Selection window, shown in the following figure, lets you narrow the list of table spaces that appears on the next panel. Enter a table space name, table space creator, database name, or a combination of any of these fields. Selection criteria (*) are allowed.
The DSM Tablespaces panel lists the table spaces that meet your selection criteria. On this panel, you can select a table space to move all data sets associated with the space, or you can drill down to select specific data sets.
The following section describes the fields on the DSM Tablespaces panel:
- SSID
- The Db2 subsystem ID.
- Tablespace
- The table space name or mask you specified appears here. This field is read only.
- Creator
- The table space creator name or mask you specified appears here. This field is read only.
- TSname
- The name of the table space. This field is highlighted if one or more data sets in the table space are in the move queue. If one or more data sets in the table space are in the move queue, this field is highlighted. If all data sets in the table space are in the move queue, an asterisk (*) appears next to the table space name. If some of the data sets in the table space are in the move queue, a plus sign (+) appears next to the table space name.
- Creator
- The user ID of the creator of the table space. If all data sets in the table space are in the move queue, this field is highlighted.
- DBname
- The database name that owns the table space.
- DSNct
- The total number of data sets allocated for the table space.
- AvgExt
- The average number of extents for a single data set owned by the table space.
- MaxExt
- The maximum number of extents for a single data set owned by the table space.
- SpcUse
- The percentage of space allocated that is currently used by data sets owned by the table space. The value is derived by totaling all space used for all data sets within the table space and dividing it by all space allocated for the data sets. Space used is derived from data set high used RBA. Space allocated is derived from data set high allocated RBA.
- SpaceUse
- The amount of space in use by all data sets owned by the table space, in kilobytes (K), megabytes (M), gigabytes (G), or terabytes (T).
- SpaceAlc
- The amount of space allocated by all data sets owned by the table space, in kilobytes (K), megabytes (M), gigabytes (G), or terabytes (T).
- UsrDef
- The number of user-managed data sets in the database.
- StgDef
- The number of Db2-managed data sets in the database.
- Type
- The object type. TS is a simple table space. PTTS is a partitioned table space.
- DBid
- The database identifier of the data base owning the table space.
- OBid
- The table space object identifier.
- PSid
- The table space pageset object identifier.
The line commands that can be used on the DSM Tablespaces panel are shown in the following table:
Line command | Description |
---|---|
S | View the data sets owned by the selected table space. |
Q | Add the table space to the move queue; all data sets associated with the table space will be selected. After you add a table space to the move queue, enter QEDIT in the command line (or press PF4) to view the list of data sets to be moved. This command may be used on multiple lines on the panel. |
D | Delete all table space data sets in the data set move queue. This command may be used on multiple lines on the panel. |