John,
There are two flavors of COPYGROUP/COPYGRP with z/OS V2.1

Also in z/OS V2R1, IEBCOPY introduces a new COPYGROUP statement that provides 
the same function as the COPYGRP statement but also performs that same function 
for a PDS to PDS copy.

With COPYGRP, when the input and output data sets are both PDSes, the operation 
is treated as a simple COPY operation, not a group copy.

You can use COPYGROUP to copy a data set in the following situations:

    PDS to PDS
    PDS to PDSE
    PDSE to PDS
    PDSE to PDSE.

You can use COPYGROUP for unloading groups in the following situations:

    PDS to PS
    PDSE to PS

You can use COPYGROUP for loading groups in the following situations:

    PS to PDSE
    PS to PDS

When using the COPYGROUP statement:

    All aliases in a group will be copied with the member or neither the 
aliases nor the member in a group will be copied.
    There can be only one INDD per copy operation.
    You can use the SELECT statement to selectively copy members. Either the 
member name or an alias can be specified to copy the member and all of its 
aliases.
    Do not indicate replace (R) on the SELECT statement.
    The EXCLUDE statement is not supported unless a SELECT MEMBER statement 
uses pattern filter matching and the EXCLUDE statement does also.

For complete details on using the new COPYGROUP statement, see the IEBCOPY 
chapter in z/OS DFSMSdfp Utilities.
Manual: Using New DFSMS Functions in z/OS V2R1

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of John Eells
> Sent: Friday, October 23, 2015 10:14 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: (External):Re: Unicode Query
> 
> Peter X. DeFabritus wrote:
> > With z/OS 2.1, the COPYGROUP command of IEBCOPY will copy all the aliases
> associated with a main member.
> <snip>
> 
> You beat me to it!  But COPYGRP (note spelling) was introduced earlier than 
> z/OS
> V2.1.  I did not go back further to look for when it was first out, but it's 
> definitely
> there in z/OS V1.13.  Thus, all supported releases include some level of 
> function for
> this command.
> 
> What we did in z/OS V2.1 was teach it to work for PDS and not just PDSE.
> 
> --
> John Eells
> z/OS Technical Marketing
> IBM Poughkeepsie
> ee...@us.ibm.com
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to