Displaying a Volume Table of Contents (VTOC)
To display or print a list of data sets on one or more disks, you can use the Work with VTOC utility. With this utility, you can list either all the data sets, or a subset of the data sets based on a generic data set name. You can also use Work with VTOC to display or print a volume summary list (VTOC list), or print a combined data set and VTOC list.
See Display VTOC panel for details.
The information in the data set list includes:
- Data set name
- Volume (VOLSER)
- Disk extents
- File organization information
- Creation, expiration, and referred dates
In online mode, you can enter commands to invoke functions that operate on individual data sets.
See Display VTOC Data Set List panel for details.
The information in the volume summary list includes:
- Volume information
- VTOC information
- Free space information
- Data set statistics
See Volume Summary/Selection panel for details.
To display the VTOC information:
- From the Utility Functions menu panel, select option 5. VTOC. The Display VTOC panel shown in Work with VTOC panel is displayed.
- Specify the disk volume or volumes with which you want to work.
You can specify a generic volume serial number, such as D$US1*. Note: If you specify a pattern that causes a large number of volumes to be accessed, the operation can take a long time.
- You can limit the data sets that are listed by specifying selection
criteria in a number of fields on the Display VTOC panel:
- Data set name
- Specify a generic data set name. If you do not specify a data set name, File Manager uses the default generic data set name of '**' which causes all data sets to be listed or included. If you do not type quotation marks around the data set name (mask), File Manager prefixes the data set name with your TSO PROFILE PREFIX (usually your user ID). For example, to limit the data sets to just the ones starting with your TSO PROFILE PREFIX, specify the generic data set name of ** (no quotation marks). Any valid ISPF data set name mask can be used as the generic name.
- Volume serial
- Specify a fully-qualified or generic volume serial number.
- Volume status
- Specify a fully-qualified volume status string of PRIVATE, PRIV/RSDNT, RESIDENT, PUBLIC, or STORAGE.
- Unit
- Specify a fully-qualified or generic device address.
- Device type
- Specify a fully-qualified or generic device type.
- SMS SG
- Specify a fully-qualified or generic SMS storage group name.
To select a non-SMS controlled volume in an SMS environment, specify the reserved name,
NONSMS
. - Processing limit
- Type a "/" to select this option and then specify the maximum number of data sets to be selected for VTOC processing.
- If required, select the Batch execution option. File Manager
then displays the Display VTOC Batch Sort Options panel.
On this panel, select the appropriate sort option. File Manager then generates the batch job stream and the JCL is presented in an Edit session. If necessary, you can change the JCL before submitting the job.
- To display dates in the format YY/MM/DD (instead of the default format YYYY.DDDD), select the YY/MM/DD date format (default: YYYY.DDD) option.
- By default, for data sets with multiple extents, the display format suppresses the data set name on the second and subsequent extents. To show the data set name for each extent, select the Repeat data set name for each extent option.
To update your list view, to include any changes that you have made and also any changes made by other users since you first displayed the list, enter the REFRESH primary command.
To display or print a volume summary list (like the one shown in Work with VTOC: list of volumes):
- Enter the line command V to display the list.
- Enter the line command P to print the list. File Manager
then displays the Display VTOC Batch Sort Options panel.
On this panel, select the appropriate sort option. File Manager then produces the requested VTOC listing.
When you specify a generic volume serial number, File Manager displays a list of those volumes that contain data sets with names that match the specified data set name. If you select a data set list command, a data set list with all data sets matching the specified data set name and volume serial is produced.
On the Volume Summary/Selection panel you can use the S (Select) line command to select which volume you want to work with. If you want lists of data sets from more than one volume, you can enter the S line command on multiple lines. If you are going to select many volumes, you can use the ALL command to fill in the S on every line for you (you might then, if you wish, deselect any volume by overtyping its S with a blank).
By using the RIGHT and LEFT commands or corresponding function keys, you can scroll the list to see the other columns.
To print a combined data set and volume summary list report, use the PC line command. File Manager produces a summary output for each disk, followed by the list of data sets located on the volume that match the selection mask (if any).