Wow! Thanks. I had to read your description half a dozen times to get it. I've seen some user-hostile design in my life -- hey! I'm a mainframer! <g> -- but that is about as bad as it gets.
I believe you but I certainly don't see that in the IBM documentation. COPYGRP Statement Use the COPYGRP statement to begin a group copy, unload, or load. A group consists of a member and all of its aliases. COPYGRP treats the group as a single entity. COPYGROUP Statement Use the COPYGROUP statement to begin a group copy, unload, or load. A group consists of a member and all of its aliases. COPYGROUP treats the group as a single entity. Ah, yes. Here it is. The COPYGROUP statement has the same effect as the COPYGRP statement when either the input or the output data set or both are partitioned format, that is either PDS or PDSEs. The function of a COPYGROUP statement differs from COPYGRP only if both of the data sets are PDSs. COPYGROUP performs a full group copy operation when both data sets are PDSs. By contrast, a COPYGRP statement with two PDSs is the same as a COPY statement with those data sets. Makes my head spin. What was IBM thinking? It is beyond me why one would want to use one versus the other. I can envision a test case where they behave differently, but what is the situation where you would actively want to use one rather than the other? When would you want to use a command that was not COPY but in your particular situation behaved just like COPY? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Dale R. Smith Sent: Tuesday, March 3, 2020 4:51 PM To: [email protected] Subject: Re: Two related alias entry address questions On Tue, 3 Mar 2020 12:37:31 -0800, Charles Mills <[email protected]> wrote: >"Getting the aliases" is not an issue; getting the alias's entry point offset >is the issue. > >I am copying to a PDS because the program objects are in a PDSE but what I >want at the other end is a PDS. > >I will try COPYGRP and COPYGROUP. What's the difference? The description is >word for word the same. > >Charles > COPYGROUP The COPYGROUP statement has the same effect as the COPYGRP statement when either the input or the output data set or both are partitioned format, that is either PDS or PDSEs. The function of a COPYGROUP statement differs from COPYGRP only if both of the data sets are PDSs. COPYGROUP performs a full group copy operation when both data sets are PDSs. By contrast, a COPYGRP statement with two PDSs is the same as a COPY statement with those data sets. -- Dale R. Smith ---------------------------------------------------------------------- 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
