Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-03 Thread R.S.

W dniu 02.07.2020 o 20:13, Tom Conley pisze:

On 7/2/2020 2:06 PM, Kirk Wolf wrote:

How about the original question -
Is there a way to unload from a PDS the "group" (name plus aliases) 
for a

given member name and reload it to another PDS ?



Kirk,

If you don't have it already, you should install PDS (file 182 at 
cbttape.org).  It has member grouping capability, and supports the 
XMIT command to create an XMIT OUTDATASET that you can transfer and 
RECEIVE INDATASET on the system.  Contact me offline if you want to 
pursue this further.


Well, I don't know the answer, I'm not even sure about the question.
However it is possible to copy name+aliases from one PDS to another.
It is also possible to copy from PDSU to PDS and then copy name+aliases 
to another PDS. Two step, but quite quick IMHO.
It is also possible to copy PDS to PDSU (yes, it may be that temporary 
PDS with name+aliases only).

...

--
Radoslaw Skorupka
Lodz, Poland





==

Jeśli nie jesteś adresatem tej wiadomości:

- powiadom nas o tym w mailu zwrotnym (dziękujemy!),
- usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś 
na dysku).
Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać 
tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) 
tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać 
karze.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. 
Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, 
NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 
01.01.2020 r. wynosi 169.401.468 złotych.

If you are not the addressee of this message:

- let us know by replying to this e-mail (thank you!),
- delete this message permanently (including all the copies which you have 
printed out or saved).
This message may contain legally protected information, which may be used 
exclusively by the addressee.Please be reminded that anyone who disseminates 
(copies, distributes) this message or takes any similar action, violates the 
law and may be penalised.

mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital 
City of Warsaw, 12th Commercial Division of the National Court Register, KRS 
025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 
169.401.468 as at 1 January 2020.

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Steve Smith
It is irrelevant where the blame lies for the document.  I should have just
said that it got the capabilities of COPYGRP and COPYGROUP switched.

You might try copying from the PDS to a temporary PDSE, and then you can
unload that.  You can work on where and which COPYG* would work best.

I experimented some, but not with SELECT.  In fact I tried 9 different
operations, but the permutations were getting out of hand.

sas


On Thu, Jul 2, 2020 at 2:51 PM Steve Goetze  wrote:

> I'm not sure that I agree that this was a tech writer command mixup.  The
> COPYGROUP statement was created to be a superset of COPYGRP, adding better
> PDS support in addition to providing SELECT member name filter patterns.
>
> I'm not saying that it isn't working as designed, but it sure seems like a
> huge miss by IBM to not support the unloading of PDS groups with the new
> command, and then screw the documentation up to look like it does.
>
> In any case, thanks for the responses - it looks like I'm stuck with COPY
> for unload.
>
> --Steve
> Dovetailed Technologies
> www.dovetail.com
>
>
> On Thu, Jul 2, 2020 at 12:58 PM Steve Smith  wrote:
>
> > Obviously, there's an error in the documentation.  Evidently, the manual
> > writer got the two commands mixed up in your first quote.
> >
> > Which is hardly surprising.  Having two commands with a subtle difference
> > in names and behavior is ridiculous.
> >
> > sas
> >
> > On Thu, Jul 2, 2020 at 11:03 AM Steve Goetze 
> wrote:
> >
> > > I'm trying to use IEBCOPY to unload a single PDS member that has
> aliases.
> > > According to IBM's documentation:
> > >
> > >
> >
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
> > > this should be possible:
> > >
> > >  For unloading groups:
> > >   Using COPYGRP: PDSE to PS
> > >   Using COPYGROUP: PDSE to PS, or PDS to PS
> > >
> > >
> >
> > --
> > 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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Steve Goetze
I'm not sure that I agree that this was a tech writer command mixup.  The
COPYGROUP statement was created to be a superset of COPYGRP, adding better
PDS support in addition to providing SELECT member name filter patterns.

I'm not saying that it isn't working as designed, but it sure seems like a
huge miss by IBM to not support the unloading of PDS groups with the new
command, and then screw the documentation up to look like it does.

In any case, thanks for the responses - it looks like I'm stuck with COPY
for unload.

--Steve
Dovetailed Technologies
www.dovetail.com


On Thu, Jul 2, 2020 at 12:58 PM Steve Smith  wrote:

> Obviously, there's an error in the documentation.  Evidently, the manual
> writer got the two commands mixed up in your first quote.
>
> Which is hardly surprising.  Having two commands with a subtle difference
> in names and behavior is ridiculous.
>
> sas
>
> On Thu, Jul 2, 2020 at 11:03 AM Steve Goetze  wrote:
>
> > I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
> > According to IBM's documentation:
> >
> >
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
> > this should be possible:
> >
> >  For unloading groups:
> >   Using COPYGRP: PDSE to PS
> >   Using COPYGROUP: PDSE to PS, or PDS to PS
> >
> >
>
> --
> 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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Tom Conley

On 7/2/2020 2:06 PM, Kirk Wolf wrote:

How about the original question -
Is there a way to unload from a PDS the "group" (name plus aliases) for a
given member name and reload it to another PDS ?



Kirk,

If you don't have it already, you should install PDS (file 182 at 
cbttape.org).  It has member grouping capability, and supports the XMIT 
command to create an XMIT OUTDATASET that you can transfer and RECEIVE 
INDATASET on the system.  Contact me offline if you want to pursue this 
further.


Regards,
Tom Conley

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Kirk Wolf
How about the original question -
Is there a way to unload from a PDS the "group" (name plus aliases) for a
given member name and reload it to another PDS ?


On Thu, Jul 2, 2020 at 1:02 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Thu, 2 Jul 2020 08:40:23 -0700, Lizette Koehler wrote:
>
> >Also review
> >
> >COPYGROUP
> >COPYGRP
> >
> >They behave a little different
> >
> I recall this was discussed here several months ago.
>
> IBM's design was irresponsible.  The two terms are too easily
> confused, particularly in oral communication between two
> parties familiar respectively with one but not the other.
>
> IBM should do the right thing: provide two new commands,
> audibly distinct from COPYGRP, COPYGROUP, and each
> other.  Revise the documentation to:
> COPYGRP:  Obsolete; use  instead.
> COPYGROUP:  Obsolete; use  instead.
>
> RFE?
>
> IBM doesn't care.
>
> -- gil
>
> --
> 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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Paul Gilmartin
On Thu, 2 Jul 2020 08:40:23 -0700, Lizette Koehler wrote:

>Also review
>
>COPYGROUP 
>COPYGRP
>
>They behave a little different
> 
I recall this was discussed here several months ago.

IBM's design was irresponsible.  The two terms are too easily
confused, particularly in oral communication between two
parties familiar respectively with one but not the other.

IBM should do the right thing: provide two new commands,
audibly distinct from COPYGRP, COPYGROUP, and each
other.  Revise the documentation to:
COPYGRP:  Obsolete; use  instead.
COPYGROUP:  Obsolete; use  instead.

RFE?

IBM doesn't care.

-- gil

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Charles Mills
FWIW there was a long thread here on COPYGRP/COPYGROUP March 3 through 6 of 
this year.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Steve Smith
Sent: Thursday, July 2, 2020 9:58 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

Obviously, there's an error in the documentation.  Evidently, the manual
writer got the two commands mixed up in your first quote.

Which is hardly surprising.  Having two commands with a subtle difference
in names and behavior is ridiculous.

sas

On Thu, Jul 2, 2020 at 11:03 AM Steve Goetze  wrote:

> I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
> According to IBM's documentation:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
> this should be possible:
>
>  For unloading groups:
>   Using COPYGRP: PDSE to PS
>   Using COPYGROUP: PDSE to PS, or PDS to PS
>
>

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Steve Smith
Obviously, there's an error in the documentation.  Evidently, the manual
writer got the two commands mixed up in your first quote.

Which is hardly surprising.  Having two commands with a subtle difference
in names and behavior is ridiculous.

sas

On Thu, Jul 2, 2020 at 11:03 AM Steve Goetze  wrote:

> I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
> According to IBM's documentation:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
> this should be possible:
>
>  For unloading groups:
>   Using COPYGRP: PDSE to PS
>   Using COPYGROUP: PDSE to PS, or PDS to PS
>
>

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Steve Goetze
Hi Lizette,

Unfortunately, COPYMOD can't create an unload data set.

--Steve
Dovetailed Technologies
www.dovetail.com


On Thu, Jul 2, 2020 at 11:33 AM Lizette Koehler 
wrote:

> Are the members Source or LOAD modules?
>
> If Load modules, use COPYMOD
>
> Lizette
>
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Steve Goetze
> Sent: Thursday, July 2, 2020 8:02 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Using IEBCOPY COPYGROUP to unload a PDS member with aliases
>
> I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
> According to IBM's documentation:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
> this should be possible:
>
>  For unloading groups:
>   Using COPYGRP: PDSE to PS
>   Using COPYGROUP: PDSE to PS, or PDS to PS
>
> IBM even called out this new capability in a 2013 SHARE presentation.
>
> But this is contradicted by the usage notes:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1096b.htm
>
>  COPYGROUP cannot be used to load to a PDS or unload from a PDS.
>
> Some basic tests on my V2R3 system confirm that COPYGROUP can be used to
> unload PDSE members, but not PDS members (whether data members or load
> modules)
>
> Am I missing something, or misreading the documentation?  Is there a
> different way to unload a PDS member along with its aliases?
>
> Thanks,
> --Steve Goetze
> Dovetailed Technologies
> www.dovetail.com
>
> --
> 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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Lizette Koehler
Also review

COPYGROUP 
COPYGRP

They behave a little different

Lizette


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lizette Koehler
Sent: Thursday, July 2, 2020 8:34 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

Are the members Source or LOAD modules?

If Load modules, use COPYMOD

Lizette


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Steve Goetze
Sent: Thursday, July 2, 2020 8:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
According to IBM's documentation:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
this should be possible:

 For unloading groups:
  Using COPYGRP: PDSE to PS
  Using COPYGROUP: PDSE to PS, or PDS to PS

IBM even called out this new capability in a 2013 SHARE presentation.

But this is contradicted by the usage notes:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1096b.htm

 COPYGROUP cannot be used to load to a PDS or unload from a PDS.

Some basic tests on my V2R3 system confirm that COPYGROUP can be used to unload 
PDSE members, but not PDS members (whether data members or load
modules)

Am I missing something, or misreading the documentation?  Is there a different 
way to unload a PDS member along with its aliases?

Thanks,
--Steve Goetze
Dovetailed Technologies
www.dovetail.com

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


Re: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Lizette Koehler
Are the members Source or LOAD modules?

If Load modules, use COPYMOD

Lizette


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Steve Goetze
Sent: Thursday, July 2, 2020 8:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Using IEBCOPY COPYGROUP to unload a PDS member with aliases

I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
According to IBM's documentation:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
this should be possible:

 For unloading groups:
  Using COPYGRP: PDSE to PS
  Using COPYGROUP: PDSE to PS, or PDS to PS

IBM even called out this new capability in a 2013 SHARE presentation.

But this is contradicted by the usage notes:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1096b.htm

 COPYGROUP cannot be used to load to a PDS or unload from a PDS.

Some basic tests on my V2R3 system confirm that COPYGROUP can be used to unload 
PDSE members, but not PDS members (whether data members or load
modules)

Am I missing something, or misreading the documentation?  Is there a different 
way to unload a PDS member along with its aliases?

Thanks,
--Steve Goetze
Dovetailed Technologies
www.dovetail.com

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


Using IEBCOPY COPYGROUP to unload a PDS member with aliases

2020-07-02 Thread Steve Goetze
I'm trying to use IEBCOPY to unload a single PDS member that has aliases.
According to IBM's documentation:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/cpogrp.htm
this should be possible:

 For unloading groups:
  Using COPYGRP: PDSE to PS
  Using COPYGROUP: PDSE to PS, or PDS to PS

IBM even called out this new capability in a 2013 SHARE presentation.

But this is contradicted by the usage notes:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1096b.htm

 COPYGROUP cannot be used to load to a PDS or unload from a PDS.

Some basic tests on my V2R3 system confirm that COPYGROUP can be used to
unload PDSE members, but not PDS members (whether data members or load
modules)

Am I missing something, or misreading the documentation?  Is there a
different way to unload a PDS member along with its aliases?

Thanks,
--Steve Goetze
Dovetailed Technologies
www.dovetail.com

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