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 < 0000032fff1be9b4-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 <IBM-MAIN@LISTSERV.UA.EDU> 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 > //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 > -- 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