z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Logical data set copy

z/OS DFSMSdss Storage Administration
SC23-6868-01

If you specify the DATASET keyword with the COPY command and do not specify input volumes, DFSMSdss performs a logical data set copy using information in the catalogs to select data sets. For example, the following COPY command results in a logical data set copy.
COPY -
    DATASET( INCLUDE( USER.**)) -
    RENAMEUNCONDITIONAL( USER2 ) 
When you specify input volumes using the LOGINDDNAME or LOGINDYNAM volume list, a data set is selected based on the following criteria:
  • When you either specify SELECTMULTI(ALL) or specify input volumes without specifying the SELECTMULTI keyword, all of the volumes that contain a part of a non-VSAM or VSAM cluster must be in the volume list.
    For VSAM data sets, the volume list is affected by the use of the SPHERE keyword as follows:
    • Specify SPHERE and you must list all parts of the base cluster in the volume list.
    • Do not specify SPHERE and you must list all parts of the base cluster and the associated alternate indexes in the volume list.
  • When you specify SELECTMULTI(ANY), any part of the non-VSAM data set or VSAM base cluster can be on a volume in the volume list.
    For VSAM data sets, the volume list is affected by the use of the SPHERE keyword as follows:
    • Specify SPHERE and you must list any part of the base cluster in the volume list.
    • Do not specify SPHERE and you must list any part of the base cluster and the associated alternate indexes in the volume list.
  • When you specify SELECTMULTI(FIRST), the volume list must include the volume that contains the first part of either the non-VSAM data set or the primary data component of the base cluster for a VSAM sphere.
    For VSAM data sets, the volume list is affected by the use of the SPHERE keyword as follows:
    • Specify SPHERE and you must list the volume that contains the first extent of the data component for the base cluster in the volume list.
    • Do not specify SPHERE and you must specify the following information in the volume list:
      • The volume that contains the first extent of the data component for the base cluster.
      • The volume that contains the first extent of the data component for the associated alternate indexes.
Note: When processing input volumes, DFSMSdss filters first based on the VTOC, and second, based on catalog filters, if specified.

If a data set is found on more than one specified input volume and the volume sequence numbers match, DFSMSdss cannot determine which data set is to be selected for processing. You do not need to specify a SELECTMULTI option when you build a list of input volumes with STORGRP. The volume list will contain all of the volumes in a storage group.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014