Thanks John. It worked. Thanks to all who answered my post with their
suggestions.
On Monday, December 2, 2019, 05:36:29 p.m. UTC, John McKown
<[email protected]> wrote:
On Mon, Dec 2, 2019 at 10:47 AM willie bunter <
[email protected]> wrote:
> I am tryin to copy a large pds to 2 smaller pds's. I am trying to copy
> all members starting from A to F to one pds and copy the rest of the
> members - G to Z - to another pds. Could this be done?
> I was trying IDCAMS using the COUNT and SKIP parms to no avail.
> I would appreciate any suggestions.
> Thanks.
>
>
IEBCOPY using the COPYGROUP command. Ref:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u10601.htm
An example output that I tried on z/OS 2.3 is:
IEBCOPY MESSAGES AND CONTROL
STATEMENTS PAGE 1
IEB1135I IEBCOPY FMID HDZ2230 SERVICE LEVEL UA92265 DATED 20170618 DFSMS
02.03.00 z/OS 02.03.00 HBB77B0 CPU 3906
IEB1035I JOARMC$ STEP1 11:59:36 MON 02 DEC 2019 PARM=''
GROUPCPY COPYGROUP INDD=I,OUTDD=O
SELECT MEMBER=(A*)
IEB1013I COPYING FROM PDSE INDD=I VOL=VPWRKC DSN=JOARMC.PDS.JCL
IEB1014I TO PDS OUTDD=O VOL=VPWRKB DSN=JOARMC.JUNK.PDS
IGW01264I TOTAL PRIMARY NAMES: 33, FILTER PATTERN MATCHES: 2
IGW01551I MEMBER AMBLIST HAS BEEN COPIED
IGW01551I MEMBER ASMACL HAS BEEN COPIED
IGW01550I 2 OF 2 SPECIFIED MEMBERS WERE COPIED
IEB147I END OF JOB - 0 WAS HIGHEST SEVERITY CODE
--
People in sleeping bags are the soft tacos of the bear world.
Maranatha! <><
John McKown
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN