Selecting data sets by volume

You can select a volume to move all the data sets from the volume, or drill down to view specific data sets on the volume.

About this task

To select data sets by volume name, type 7 on the Specify Dataset Selection Type input line and press Enter. The Specify Volume Name window appears.

The Specify Volume Name window, shown in the following figure, lets you narrow the list of volumes that appears on the next panel. Enter a volume name in the Volume field. Selection criteria (*) are allowed.
Figure 1. Specify Volume Name window
     Specify Volume Name     
                             
  Volume   D*                
                             
                             

When you press Enter, the panel shown in the following figure is displayed:

Figure 2. DSM Volume Summary panel
 AUTOXPRT V1R1   ---------  DSM Volume Summary  ---------  2023/10/21  20:14:37 
 Option  ===>                                                  Scroll ===> CSR  
 Line Commands: S - View Volume  Q - Add to MoveQ                 PF4 View MoveQ
                D - Del from MoveQ                                              
 -------------------------------------------------------------------------   +> 
 SSID: SS1A               Volume: D*                                            
 -------------------------------------------------------------------------------
 Cmd  Volume Addr Type Sta Mnt Alc SMS DSNct PctUse FreeCyls FreeExts  FreeMax  
      DBF103 A12E 3390 ONL PRV N   Y    1087  42.8%      636       19      629  
      DBF102 A12D 3390 ONL PRV N   Y    1061  10.1%     1000       38      988  
      DBF106 A131 3390 ONL PRV N   Y    1050  10.1%     1000        1     1000  
      DBF101 A12C 3390 ONL PRV N   Y    1030   8.8%     1015       23      981  
      DBF105 A130 3390 ONL PRV N   Y    1021  11.0%      990        3      981  
      DBF100 A12B 3390 ONL PRV N   Y     984   9.8%     1003       59      976  
      DBP167 A51E 3390 ONL PRV Y   Y     361  90.8%     2996      803      280  
      DBP16B A505 3390 ONL PRV Y   Y     357  87.7%     4010      511      290  
      DBP169 7200 3390 ONL PRV Y   Y     336  88.4%     3479      690      259  
      DBP136 761B 3390 ONL PRV Y   Y     298  90.9%      302      335       35  
      DBP15B A4A9 3390 ONL PRV Y   Y     243  89.6%      345      203       46  
      DBP142 7651 3390 ONL PRV Y   Y     232  91.7%      277      213       54  
      DBP14F 765E 3390 ONL PRV Y   Y     230  89.1%      364      193      110  
      DBP164 A217 3390 ONL PRV Y   Y     216  89.4%     1052      412       30  
      DBP134 7619 3390 ONL PRV Y   Y     210  95.1%      162      208       18  
      DBP120 A488 3390 ONL PRV Y   Y     203  92.9%      234      246       40  
      DBP161 A27F 3390 ONL PRV Y   Y     202  89.1%      362      187       77  
      DBP148 7657 3390 ONL PRV Y   Y     202  90.0%      334      295       46  
      DBP153 A4AE 3390 ONL PRV Y   Y     198  89.6%      346      306       79  
      DBP147 7656 3390 ONL PRV Y   Y     192  90.0%      331      340       23  
      DBP14C 765B 3390 ONL PRV Y   Y     187  92.1%      263      268       17  
      DBP12F 760E 3390 ONL PRV Y   Y     187  91.1%      295      244       31  
                                                                                
                                                                                

The DSM Volume Summary panel lists the volumes that meet your selection criteria. On this panel, you can select a volume to move all data sets associated with the volume, or you can drill down to select specific data sets on the volume.

The following section describes the fields on DSM Volume Summary panel.

SSID
The Db2 subsystem ID.
Volume
This header field shows the volume name or mask you entered on the previous window.
Volume
The volume name. If one or more data sets on the volume are in the move queue, this field is highlighted. If all data sets on the volume are in the move queue, an asterisk (*) appears next to the volume name. If some of the data sets on the volume are in the move queue, a plus sign (+) appears next to the volume name.
Addr
The volume address. If all data sets on the volume are in the move queue, this field is highlighted.
Type
The device type.
Sta
The volume status. Possible values are:
  • ONL: Volume is online
  • OFF: Volume is offline
  • GOF: Volume is currently going offline
Mnt
The volume mount status. Possible values are:
  • PRV: Volume is mounted as private.
  • PUB: Volume is mounted as public.
  • STR: Volume is mounted as storage.
Alc
The volume allocation status. Possible values are:
  • Y: The volume is currently allocated.
  • N: The volume is not currently allocated.
SMS
Whether the device is SMS managed:
  • Y: The device is SMS-managed.
  • N: The device is not SMS-managed.
DSNct
The total number of data sets on the volume owned by the Db2 subsystem being viewed.
PctUse
The percentage of total space on the volume that is currently allocated and in use by all data sets allocated on the volume.
FreeCyls
The total number of free cylinders available on the volume.
FreeExts
The total number of free extents available on the volume.
MaxExt
The largest free extent on the volume, in cylinders.
TotCyls
The total number of cylinders on the volume.

The line commands that can be used on the DSM Volume Summary panel are described in the following table:

Table 1. DSM Volume Summary panel line commands
Line command Description
S View the data sets on the volume.
Q Add all Db2 subsystem data sets on the volume to the move queue. After you add the volume data sets 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 of the Db2 subsystem's data sets on the volume from the data set move queue. This command may be used on multiple lines on the panel.