The LIST statement enables information to be written to SYSLST. This makes it useful for redirecting information which is too extensive to be output on the terminal screen.
This statement is reserved for the TSOS user ID.
Format
LIST / L |
ALLOCATION,vsn[,type] [USER = userid] CATALOG [, { CATID = cat-id [,{ VSID = vsid / SEL = { ALL / FILE / PRIV / MIG / JV } } ] / vsn[,type] / VSID = vsid } ] [,USER = userid ] VTOC,vsn[,type] [,ENTRY = filename] |
Operands
ALLOCATION
Outputs general allocation information for a volume.
The list sorts the allocation information according to extent. The start of each extent being specified in the form “cchhr”.
Information can only be output on volumes that are identified by their volume serial number. When specifying operands it is not necessary to distinguish between public and private volumes.
The following comments may occur in the output list:
RESERVED | Space allocated without file names. It is possible to enter a file name if you wish. |
FREE SPACE | Free area on public disks. |
OVERLAY! | Space allocated twice. |
UL-SVL-F5-F1 | Space reserved by SVL, F5 and F1 (private disks). |
NO VTOC REF. | Free area on disks. |
F1 OTH. DISC | Area described by F1 of another private disk. |
NOT ASSIGNED | Area not assigned. |
NO REFERENCE | There may be outstanding allocator requirements, or an error has been indicated by CMS. |
SPACE PROBLEM | Bad area. |
vsn[,type]
Specifies the disk for which allocation information is to be listed. If a private disk is not online, the disk type “type” must also be specified. In the case of public disks, both free and “dead” space are listed.
“Dead” space is an area which the entry in the F5 label identifies as being allocated but for which there is no file in the system catalog.
USER = userid
Specifying a user ID limits the output. In this case, no information on free or dead space is output, even for public volumes.
CATALOG
Provides a list of allocated blocks in a catalog file.
Both imported and non-imported catalogs are supported.
For each catalog block, the user ID, the block counter, the primary block number (hexadecimal and decimal), the number of entries in the block and the number of unused bytes in the block are output. Then the statement has been executed properly, the message 'LIST PROCESSING COMPLETED' is output.
CATID = catid
Specifies
the TSOSCAT of an imported SF pubset.
the entire catalog of an SM pubset.
If no additional parameter is specified, the information is output for all subcatalogs of the SM pubset.
VSID = vsid
Specifying a VSID restricts the output to the file catalog of the selected volume set (permissible only for SM pubsets).
SEL = ALL / FILE / PRIV / MIG / JV
Additional selection (only for SM pubsets).
SEL = ALL
Processes all subcatalogs of the selected SM pubset (analogous to no additional
parameter). In the case of special catalogs, all catalog files are processed.
SEL = FILE
Selects all file catalogs of the SM pubset.
SEL = PRIV
Processes the special catalog for private disk and tape file entries. Only the first file of the special catalog (TSOSCAT.#P00) is processed.
SEL = MIG
Selects the special catalog for migrated files or files that have not been assigned
space. Only the first file of the special catalog (TSOSCAT.#M00) is processed.
SEL = JV
Permits the output of information about the special catalog for a job variable. Only the first file of the special catalog (TSOSCAT.#J00) is processed.
vsn
Specifies a Pubres that contains either the file catalog of a volume set or the TSOSCAT of an SF pubset.
type
Specifies the device type of the disk defined by <vsn>.
VSID = vsid
Specifies the file catalog of a volume set. This parameter is permissible only when processing an SM pubset.
USER = userid
Specifying a “userid” limits the output of information to this user ID.
VTOC
Requests information from the F1 label of a private disk.
vsn[,type]
Specifies the volume serial number of the disk from whose VTOC area information is requested. If the volume is not online, the disk type “type” must also be specified.
ENTRY = filename
Limits output to the file entry “filename”. Fully qualified file names are not prohibited, but only the specification of partially qualified file names is practical.
Examples
1. Output of LIST ALLOCATION,PAGM.0
Notes on the ASSIGNMENT column
RESERVED | Space allocated without file names. It was not possible to enter a file name (column 7). |
FREE SPACE | Free area on public disks. |
OVERLAY! | Space allocated twice. |
UL-SVL-F5-F1 | Space reserved by SVL, F5 and F1 (private disks). |
NO VTOC REF. | Free area on disks. |
F1 OTH. DISC | Area described by F1 of another private disk. |
NOT ASSIGNED | Area not assigned. |
NO REFERENCE | There may be outstanding allocator requirements, or an error has been indicated by CMS. |
SPACE PROBLEM | Bad area. |