Use the COPYGRP statement to begin a group copy, unload, or load.
A group consists of a member and all of its aliases. COPYGRP treats
the group as a single entity.
The syntax of the COPYGRP statement is:
Label |
Statement |
Parameters |
---|
[label]
|
COPYGRP
|
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 COPYGRP.
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.