Yes, my typo, thanks David

On Tue, 12 Apr 2022 at 13:09, David Spiegel <[email protected]> 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 <
> > [email protected]> 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&amp;data=04%7C01%7C%7C75548b75f393472d34dc08da1c4d9af3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637853416929843676%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=eCD8lj3W0%2BITYbxkzAuGurntnzg%2FyQQvuWZLa%2BntPPo%3D&amp;reserved=0
> >> 'Dance like no one is watching. Encrypt like everyone is.'
> >>
> >> -----Original Message-----
> >> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf
> >> Of
> >> [email protected]
> >> Sent: 12 April 2022 00:12
> >> To: [email protected]
> >> 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 [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
> >>
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>


-- 
Mike Shorkend
[email protected]
Tel: +972524208743

<https://www.linkedin.com/in/MikeShorkend/>

<https://twitter.com/mikeShorkend>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to