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


EXCLUDE Statement

z/OS DFSMSdfp Utilities
SC23-6864-00

The EXCLUDE statement is used to restrict the scope of MOVE DSGROUP, COPY DSGROUP, MOVE PDS, COPY PDS, MOVE CATALOG, or COPY CATALOG statements by excluding a specific portion of data defined in those statements.

Partitioned data set members excluded from a MOVE PDS operation cannot be recovered (the source data set is scratched). Any number of EXCLUDE statements can modify a MOVE PDS or COPY PDS statement.

Source data sets excluded from a MOVE DSGROUP or MOVE CATALOG operation remain available. Only one EXCLUDE statement can modify a MOVE DSGROUP, COPY DSGROUP. The EXCLUDE statement is invalid when data is unloaded or when unloaded data is moved or copied.

The syntax of the EXCLUDE statement is:

Label Statement Parameters
[label] EXCLUDE {DSGROUP=name| MEMBER=membername}
where:
DSGROUP=name
Specifies the cataloged data sets or the catalog entries to be excluded in when moving a data set group or catalog. If used in conjunction with MOVE DSGROUP or COPY DSGROUP, all cataloged data sets whose names are qualified by name are excluded from the operation. If used in conjunction with MOVE CATALOG or COPY CATALOG, all catalog entries whose names are qualified by name are excluded from the operation.
MEMBER=membername
specifies the name of a member to be excluded from a MOVE or COPY PDS operation.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014