z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Moving or Copying a Volume of Data Sets

z/OS DFSMSdfp Utilities
SC23-6864-00

IEHMOVE can be used to move or copy the data sets of an entire DASD volume to another volume or volumes. A move operation differs from a copy operation in that the move operation scratches source data sets, while the copy operation does not. For both operations, any cataloged entries associated with the source data sets remain unchanged.

If the source volume contains a SYSCTLG data set, that data set is the last to be moved or copied onto the receiving volume.

If a volume of data sets is moved or copied to tape, sequential data sets are moved; partitioned and BDAM data sets are unloaded. The data sets must be retrieved one by one by data set name and file-sequence number, or by file-sequence number for unlabeled or nonstandard labeled tapes.

When copying a volume of data sets, you have the option of cataloging all source data sets in a SYSCTLG data set on a receiving volume. However, if a SYSCTLG data set exists on the source volume, error messages indicating that an inconsistent index structure exists are generated when the source SYSCTLG entries are merged into the SYSCTLG data set on the receiving volume.

The move-volume feature does not merge partitioned data sets. If a data set on the volume to be moved has a name identical to a data set name on the receiving volume, the data set is not moved or merged onto the receiving volume.

The copy-volume feature does merge partitioned data sets. If a data set on the volume to be copied has a name identical to a data set name on the receiving volume, the data set is copied and merged onto the receiving volume.

Table 1 shows basic and optional move and copy operations for a volume of data sets.

Table 1. Moving and copying a volume of data sets
Operation Basic Actions Optional Actions
Move a volume of data sets Move all data sets not protected by a password to the specified DASD volumes. Scratch the source data sets for DASD volumes. Include password-protected data sets in the operation. Unload the data sets.
COPY a volume of data sets Copy all data sets not protected by a password to the specified DASD volume. The source data sets are not scratched. Include password-protected data sets in the operation. Catalog all copied data sets . Unload the data sets.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014