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


COPYGROUP Statement

z/OS DFSMSdfp Utilities
SC23-6864-00

Use the COPYGROUP statement to begin a group copy, unload, or load. A group consists of a member and all of its aliases. COPYGROUP treats the group as a single entity.

The syntax of the COPYGROUP statement is:

Label Statement Parameters

[label]

COPYGROUP

OUTDD=DDname
,INDD={DDname|((DDname,R))} [,LIST={YES|NO}]

where:
OUTDD=DDname
specifies the name of a DD statement that locates the output data set.
INDD={DDname| ((DDname,R))}
specifies the name of a DD statement that locates the input data set.

Restriction: Multiple INDD statements are not allowed for COPYGROUP.

These values can be coded:
DDname
specifies the ddname, which is specified on a DD statement, of an input data set.
R
specifies that a group to be copied or loaded from this input data set is to replace a group in the output data set. When this option is specified, the ddname and the R parameter must be enclosed in a set of parentheses; and the entire field, except the INDD parameter, must be enclosed in a second set of parentheses.
LIST={YES|NO}
specifies whether the names of copied members are to be listed in the SYSPRINT data set at the end of each input data set. When this parameter is omitted, the default from the EXEC PARM field applies.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014