https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1061.htm

Program objects are created automatically when load modules are copied
into a PDSE. Likewise, program objects are automatically converted
back to load modules when they are copied into a partitioned data set.
Note that some program objects cannot be converted into load modules
because they use features of program objects that do not exist in load
modules.

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1070.htm

COPYGRP is recommended for PDS Load Modules or PDSE Program Objects to
include any aliases that may be present.

On Thu, May 9, 2019 at 9:40 AM Seymour J Metz <sme...@gmu.edu> wrote:
>
> The examples don't address the question. However, elsewhere there is a 
> warning not to use COPY for program objects.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
> esmie moo <0000012780d99c7b-dmarc-requ...@listserv.ua.edu>
> Sent: Thursday, May 9, 2019 9:34 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: COPYING PDS AND PDSE
>
>  Thanks Lizette.  I will check it out.
>     On Tuesday, May 7, 2019, 2:08:24 p.m. EDT, Lizette Koehler 
> <stars...@mindspring.com> wrote:
>
>  Remember, that IEBCOPY has lots of examples and details on IBM.COM
>
> https://secure-web.cisco.com/1ELn9Oo9wuySjWKB8I6WlTvWD7Cc_xaNIesP50m-vrocfufi3dAM03Dy3YxgUZux4MVKCHj2hPleNF4k1_Od0jpZnOXShKXARvst9DUda7bv1b2wtkmMbAGTtFsbUnZjAD26zX3qULI3FQbNwE7Sy8HjGkbdoAWeWsNbOwWMhrUCMKPTinqYbekG62RidWRQhDsbWkpl2pjo_O-se3EBKxPYMSVlF9TGiNTHPyLuPD7-0CNqUIId-gOxkigWok0_aB-IZnZ1vtRffN1EaF40lCuKemyASdOCKqiaWzdGPOIAZ9VStmy5aQrH3UXM680jiQeZyYbnD49i604UqWq1I4JpHGjePtEW8A2a18ZbW9YV995ZwjR8rSw0ADnNZacJ5RZwDhoh7wP8D4pA4u1kAP9JFWih7SKzw8Cv3kmS5zhdRkV8su2ynU2rGQvPwoajc/https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSLTBW_2.3.0%2Fcom.ibm.zos.v2r3.idau100%2Fiebcopy.htm
>
>
> Unless specified, the examples will tell you exactly how to copy from a LibA 
> to a LibB
>
> Lizette
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
> > esmie moo
> > Sent: Tuesday, May 07, 2019 10:37 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: COPYING PDS AND PDSE
> >
> >  Thanks Seymour and thanks to all who responded to my post.
> >    On Tuesday, May 7, 2019, 11:39:43 a.m. EDT, Seymour J Metz
> > <sme...@gmu.edu> wrote:
> >
> >  COPYMOD is for load module reblocking. There are no load modules in a PDSE.
> > Off the top of my head I don't even recall whether it is valid for program
> > objects. The COPY statement should work fine for PDSE.
> >
> >
> > --
> > Shmuel (Seymour J.) Metz
> > http://mason.gmu.edu/~smetz3
> >
> > ________________________________________
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of
> > esmie moo <0000012780d99c7b-dmarc-requ...@listserv.ua.edu>
> > Sent: Tuesday, May 7, 2019 9:15 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: COPYING PDS AND PDSE
> >
> >  I want to copy the PDSE to another.  I was told that COPYMOD was the
> > preferable parm when copying LOADLIBS.  Is it okay just to use COPY?
> >    On Tuesday, May 7, 2019, 8:09:09 a.m. EDT, Elardus Engelbrecht
> > <elardus.engelbre...@sita.co.za> wrote:
> >
> >  esmie moo wrote:
> >
> > >Are there special parms that I need to use in the copy PDS & PDSE'S?
> >
> > It depends. Do you want to copy all or specific members?
> >
> >
> > >For example if I want to copy a PDSE to another PDSE (some maybe LOADLIBS)
> > would the following be okay?
> >
> > PS: I have doctored your JCL sample for better readability! ;-)
> >
> > //COPYJCL1  EXEC PGM=IEBCOPY
> > //SYSPRINT DD SYSOUT=*
> > //SYSUT3  DD UNIT=SYSDA,SPACE=(CYL,(50,50))
> > //SYSUT4  DD UNIT=SYSDA,SPACE=(CYL,(50,50)) //INDD    DD
> > DISP=OLD,DSN=MYDSN.CLIP.SHR //OUTDD    DD DISP=OLD,DSN=MYDSN.CLIP.SHR.NEW
> > //SYSIN    DD *
> >  COPY INDD=INDD,OUTDD=OUTDD
> > /*
> > //
> >
> >
> > >Is the COPY command sufficient?
> >
> > It should be, a$$uming you want to copy ALL members without any reblocking
> > with COPYMOD and that both datasets RECFM, LRECL, BLKSIZE, etc. are the 
> > same.
> >
> > Perhaps you can drop SYSUT3 and SYSUT4 and add this one:
> >
> > //SYSOUT  DD SYSOUT=*
> >
> > Are you getting any error message(s)?
> >
> > Groete / Greetings
> > Elardus Engelbrecht
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
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