With z/OS 2.1, the COPYGROUP command of IEBCOPY will copy all the aliases associated with a main member.
On Fri, 23 Oct 2015 16:31:47 +0000, J O Skip Robinson <[email protected]> wrote: >I may be a heretic, but I shy away from using a tool (native IEBCOPY) that is >guaranteed to fail unless I'm smart--and careful--enough to code it exactly >right. I prefer to use StarTool (or PDS from CBT), which (if configured >properly) will identify and include all applicable aliases or, if an alias is >selected, the base module as well. The product calls IEBCOPY anyway with all >names specified, but it's harder to go wrong. > >I believe that after many decades ISPF/PDF now selects aliases as well. > >As noted, copying a base member without all aliases (or vice versa) can lead >to disaster. StarTool/PDS VERIFY will identify anomalies resulting from >improper copying. > >. >. >. >J.O.Skip Robinson >Southern California Edison Company >Electric Dragon Team Paddler >SHARE MVS Program Co-Manager >626-302-7535 Office >323-715-0595 Mobile >[email protected] > >-----Original Message----- >From: IBM Mainframe Discussion List [mailto:[email protected]] On >Behalf Of Field, Alan >Sent: Friday, October 23, 2015 9:19 AM >To: [email protected] >Subject: (External):Re: Unicode Query > >IEBCOPY is the utility of choice. If you copy a module with aliases it does >NOT automatically pick up the aliases. > >You need to specify the module and all the aliases in the copy request to >preserve the relationship. > >Otherwise you end up with the aliases in the output dataset becoming modules >on their own right. > >Depending on whether you access it by the main name or the alias you get the >updated module or an un-updated one. > >Alan Field >Systems Engineer Principal >Blue Cross Blue Shield of MN > >651.662.3546 > >-----Original Message----- >From: IBM Mainframe Discussion List [mailto:[email protected]] On >Behalf Of Paul Gilmartin >Sent: Friday, October 23, 2015 11:11 AM >To: [email protected] >Subject: Re: Unicode Query > >On 2015-10-23, at 09:06, Field, Alan wrote: > >> Only three modules are affected. I just copied them and re-ipld. Watch it. >> one of them has an alias (thanks Skip R for pointing that out). >> >Does copying somehow damage an alias? Grrr... Shame on it! >Does it depend on which utility you use to copy? Which are safe and which >unsafe? > >-- gil > >---------------------------------------------------------------------- >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
