Re: [EXTERNAL] Re: Question About ADRDSSU
Hi Paul, Like another poster responded, changing the INCLUDE to INCLUDE(MONSOON.V70.**), it will move all datasets beginning with MONSOON.V70. It won't move anything with MONSOON.V70A (or V70anything) since you're defining the exact second level qualifier you want. To your second question, if there is an exact name dataset on the target volume - or a cataloged dataset on any volume and you have uncataloged datasets on your source - those datasets will not be moved. In the case of another like-named dataset on the target because you don't have REPlace in your control statements and the second because you have CATALOG defined and the system wouldn't be able to catalog the dataset after moving. Rex . Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSIN DD * COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG - DELETE - ALLEXCP - ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- 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 -- The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Question About ADRDSSU
No, only the dataset specified in the INCLUDE statement will be moved. If you want ALL dsns moved from the volume (no recommended) instead of the dsn used parm INLUDE (**). Why are you bypassing SMS? On Monday, April 11, 2022, 07:13:45 p.m. EDT, esst...@juno.com wrote: . Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSIN DD * COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG - DELETE - ALLEXCP - ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- 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: Question About ADRDSSU
Give this a try ,PARM='TYPRUN=NORUN' Regards, Steve Beaver -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esst...@juno.com Sent: Monday, April 11, 2022 6:12 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Question About ADRDSSU . Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSINDD* COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG- DELETE - ALLEXCP- ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- 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: Question About ADRDSSU
Yes, my typo, thanks David On Tue, 12 Apr 2022 at 13:09, David Spiegel wrote: > Hi Mike, > There is no asterisk to the left of PARM. > > Regards, > David > > On 2022-04-12 02:27, Mike Shorkend wrote: > > You can code your EXEC statement like this to check which datasets > ADRDSSU > > will process (without actually doing it): > > > > //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99,*PARM='TYPRUN=NORUN'* > > > > On Tue, 12 Apr 2022 at 02:59, Lennie Dymoke-Bradshaw < > > 032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: > > > >> Paul, > >> > >> Assuming your sentence including "beginning with MONSOON,V70" was > intended > >> to say "beginning with MONSOON.V70" I still think this will only move > data > >> sets starting MONSOON.V70. (note the final "."). > >> Data sets such as "MONSOON.V70MORE" would not be moved. > >> If data sets of the same name exist on your target volume you can decide > >> what happens using RENAMEU and REPUNC keywords. > >> > >> Lennie Dymoke-Bradshaw > >> > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Frsclweb.com%2F&data=04%7C01%7C%7C75548b75f393472d34dc08da1c4d9af3%7C84df9e7fe9f640afb435%7C1%7C0%7C637853416929843676%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eCD8lj3W0%2BITYbxkzAuGurntnzg%2FyQQvuWZLa%2BntPPo%3D&reserved=0 > >> 'Dance like no one is watching. Encrypt like everyone is.' > >> > >> -Original Message- > >> From: IBM Mainframe Discussion List On > Behalf > >> Of > >> esst...@juno.com > >> Sent: 12 April 2022 00:12 > >> To: IBM-MAIN@LISTSERV.UA.EDU > >> Subject: Question About ADRDSSU > >> > >> . > >> Hello > >> . > >> I have a question regarding ADRDSSU - > >> In the past I have used the following control statements to MOVE a > specific > >> dataset from one volume to another. > >> . > >> > >> //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 > >> //SYSPRINT DD SYSOUT=* > >> //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA > >> //SYSINDD* > >>COPY DS( - > >> INCLUDE ( MONSOON.V70.ZFS - > >>) - > >>) - > >>OUTDDNAME(OUTVOL1) - > >>BYPASSACS(**) - > >>CATALOG- > >>DELETE - > >>ALLEXCP- > >>ALLDATA(*) - > >>TOL(ENQF) > >> /* > >> // > >> . > >> . > >> If I used the following INCLUDE statement , my understanding is that > >> ADRDSSU > >> will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to > >> another volume. > >> INCLUDE ( MONSOON.V70.** - > >> . > >> Is My Assesment correct ? > >> . > >> Second > >> If the Target Volume already contains a file begining with MONSOON.V70. > >> what will happen to that dataset ? > >> . > >> Paul > >> * > >> > >> > >> > >> > >> -- > >> 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 Shorkend m...@shorkend.com Tel: +972524208743 <https://www.linkedin.com/in/MikeShorkend/> <https://twitter.com/mikeShorkend> -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Question About ADRDSSU
Hi Mike, There is no asterisk to the left of PARM. Regards, David On 2022-04-12 02:27, Mike Shorkend wrote: You can code your EXEC statement like this to check which datasets ADRDSSU will process (without actually doing it): //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99,*PARM='TYPRUN=NORUN'* On Tue, 12 Apr 2022 at 02:59, Lennie Dymoke-Bradshaw < 032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: Paul, Assuming your sentence including "beginning with MONSOON,V70" was intended to say "beginning with MONSOON.V70" I still think this will only move data sets starting MONSOON.V70. (note the final "."). Data sets such as "MONSOON.V70MORE" would not be moved. If data sets of the same name exist on your target volume you can decide what happens using RENAMEU and REPUNC keywords. Lennie Dymoke-Bradshaw https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Frsclweb.com%2F&data=04%7C01%7C%7C75548b75f393472d34dc08da1c4d9af3%7C84df9e7fe9f640afb435%7C1%7C0%7C637853416929843676%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eCD8lj3W0%2BITYbxkzAuGurntnzg%2FyQQvuWZLa%2BntPPo%3D&reserved=0 'Dance like no one is watching. Encrypt like everyone is.' -Original Message- From: IBM Mainframe Discussion List On Behalf Of esst...@juno.com Sent: 12 April 2022 00:12 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Question About ADRDSSU . Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSINDD* COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG- DELETE - ALLEXCP- ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- 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: Question About ADRDSSU
You can code your EXEC statement like this to check which datasets ADRDSSU will process (without actually doing it): //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99,*PARM='TYPRUN=NORUN'* On Tue, 12 Apr 2022 at 02:59, Lennie Dymoke-Bradshaw < 032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: > Paul, > > Assuming your sentence including "beginning with MONSOON,V70" was intended > to say "beginning with MONSOON.V70" I still think this will only move data > sets starting MONSOON.V70. (note the final "."). > Data sets such as "MONSOON.V70MORE" would not be moved. > If data sets of the same name exist on your target volume you can decide > what happens using RENAMEU and REPUNC keywords. > > Lennie Dymoke-Bradshaw > https://rsclweb.com > 'Dance like no one is watching. Encrypt like everyone is.' > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of > esst...@juno.com > Sent: 12 April 2022 00:12 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Question About ADRDSSU > > . > Hello > . > I have a question regarding ADRDSSU - > In the past I have used the following control statements to MOVE a specific > dataset from one volume to another. > . > > //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 > //SYSPRINT DD SYSOUT=* > //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA > //SYSINDD* > COPY DS( - > INCLUDE ( MONSOON.V70.ZFS - > ) - > ) - > OUTDDNAME(OUTVOL1) - > BYPASSACS(**) - > CATALOG- > DELETE - > ALLEXCP- > ALLDATA(*) - > TOL(ENQF) > /* > // > . > . > If I used the following INCLUDE statement , my understanding is that > ADRDSSU > will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to > another volume. > INCLUDE ( MONSOON.V70.** - > . > Is My Assesment correct ? > . > Second > If the Target Volume already contains a file begining with MONSOON.V70. > what will happen to that dataset ? > . > Paul > * > > > > > -- > 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 Shorkend m...@shorkend.com Tel: +972524208743 <https://www.linkedin.com/in/MikeShorkend/> <https://twitter.com/mikeShorkend> -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Question About ADRDSSU
Paul, Assuming your sentence including "beginning with MONSOON,V70" was intended to say "beginning with MONSOON.V70" I still think this will only move data sets starting MONSOON.V70. (note the final "."). Data sets such as "MONSOON.V70MORE" would not be moved. If data sets of the same name exist on your target volume you can decide what happens using RENAMEU and REPUNC keywords. Lennie Dymoke-Bradshaw https://rsclweb.com 'Dance like no one is watching. Encrypt like everyone is.' -Original Message- From: IBM Mainframe Discussion List On Behalf Of esst...@juno.com Sent: 12 April 2022 00:12 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Question About ADRDSSU . Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSINDD* COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG- DELETE - ALLEXCP- ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- 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
Question About ADRDSSU
. Hello . I have a question regarding ADRDSSU - In the past I have used the following control statements to MOVE a specific dataset from one volume to another. . //COPYMOVE EXEC PGM=ADRDSSU,REGION=7M,TIME=99 //SYSPRINT DD SYSOUT=* //OUTVOL1 DD DISP=SHR,VOL=SER=SYSV32,UNIT=SYSALLDA //SYSINDD* COPY DS( - INCLUDE ( MONSOON.V70.ZFS - ) - ) - OUTDDNAME(OUTVOL1) - BYPASSACS(**) - CATALOG- DELETE - ALLEXCP- ALLDATA(*) - TOL(ENQF) /* // . . If I used the following INCLUDE statement , my understanding is that ADRDSSU will move ALL DATASETS (VSAM and Non VSAM) begining with MONSOON,V70 to another volume. INCLUDE ( MONSOON.V70.** - . Is My Assesment correct ? . Second If the Target Volume already contains a file begining with MONSOON.V70. what will happen to that dataset ? . Paul * -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN