z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SCAN command

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

The format of the SYSIN commands for scanning are shown in Figure 1.

Figure 1. EDGINERS SYSIN command (for scanning)
Read syntax diagramSkip visual syntax diagram
>>-SCAN--VOLUME(volser)----------------------------------------><

SCAN
Specify SCAN to scan the labels of a volume.

You can scan the labels of a volume regardless of whether it is defined to DFSMSrmm. If the volume is already defined to DFSMSrmm the information read from the volume labels is compared with the information defined to DFSMSrmm. Any undefined volume is not automatically defined to DFSMSrmm.

The SCAN function reads the VOL1 and header labels for the first file on the volume. If the labels exist and are read successfully, the label contents are displayed in the SYSPRINT file. For the operator command the information is also displayed, but truncated, on the operator console. For SYSIN, manual, processing the information is displayed in the SYSPRINT file.

If the volume is defined to DFSMSrmm and the label information does not match that defined to DFSMSrmm the differences are highlighted in the output, see the example in Figure 4 File 1 output summaries below.

For each SYSIN command, you must specify one of; ERASE, INIT, and SCAN.

VOLUME
VOLUME(volser) specifies the volume serial number of the volume to be scanned. volser is required. volser is one to 6 alphanumeric, national, or special characters. Enclose it in single quotation marks if it contains any special characters.

You can scan the labels of any volume, including system-managed scratch volumes. Although the system prevents a specific mount of a system-managed scratch volume, you can scan them because EDGINERS handles the change of use attribute between SCRATCH and PRIVATE in the TCDB. As an alternative to relying on this EDGINERS processing, you can change a scratch volume to master status, then run EDGINERS with SCAN and release the volume after the scan. Depending on the results of the scan, you might also want to re-label the volume to clean up any mismatch between DFSMSrmm recorded information and the actual volume contents.

Volumes that are not standard label (such as IBM SL, and ANSI Label (AL)), and are not labeled NL by the EDGINERS utility, are treated as no label (NL). This can include true no label volumes, non-standard label (NSL), and those with a leading tape mark (TM).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014