Copy member groups (primary and aliases) from one library.

-DSC-         IQIBUTIL function COPYGRP
Command ===>

  INPUT DATASET | @H : ______________________________________
    INPUT DISPOSITION: S   S hr | O ld
 OUTPUT DATASET | @H : ______________________________________
   OUTPUT DISPOSITION: S   S hr | O ld | N ew

     SAME NAME MEMBER: N   R eplace | O lder | N one
   RECORD SEQUENCE NO: _   S kip ISPF EDIT record sequence number
    MODIFY STATISTICS: _   C lear output ISPF statistics
        PAD CHARACTER: _ for copying into a larger record size
  PREFILTER BY AGE OF: _____ D  D ays | W eeks | M onths | Q uarters | Y ears
    AND/OR BY USER-ID: ______ pattern mask wild-cards * and %
 REPORT LISTING LEVEL: Y   Y es | N o | A ll

Enter Command or Point and shoot ar Hotbar command name

Use the COPYGRP statement to begin a group copy, unload, or load operation.

The input data set may be a partitioned or a sequential data set created by an unload operation. A group consists of a member with all of its aliases and optionally all associated PDSE member generations.

To select a member group you must select at least one member name or alias name belonging to the group. The COPYGRP statement supports re-formatting of input data into a different output record format. It also supports clearing of ISPF statistics of output member directory entries.

Fixed-Blocked and Variable-Blocked format records with an ISPF EDIT 8 digits sequence number may be copied while skipping every sequence number.

Note: GENS=ALL option implies REPLACE option in z/OS 2.4 and 2.3
Note: It is recommended to use COPYGROUP statement for copying load module groups from a PDS to PDS.