The
COPY command accepts generic group names, both on the GROUP option and on
the TO option, subject to the following rules:
- The only generic character permitted on the COPY command is the asterisk
(*) symbol.
- The prefix length of groupname1 must be equal
to or greater than the prefix length of groupname2.
Thus COPY GROUP(DFHCOMP*) TO(USRCMP*) is valid, but COPY GROUP(DFHCO*) TO(USRCOMP*)
is not.
You can use the asterisk (*) symbol to copy from generically named groups
to other generically named groups or from generically named groups to a specific
group, as shown in Examples.
Note: There is no AS parameter as in the CEDA version of the COPY command.
The DFHCSDUP output listing tells you which definitions were copied, and
what happened if duplicates were found.