but all the files in the DISK are named as I specify in the INCLUDE so i don't see how this will solve it.
On Wed, Mar 2, 2011 at 10:04 AM, Richard Marchant < richard.march...@shoden.co.za> wrote: > Matan, > > Might be worth trying DATASET(INCLUDE(**) EXCLUDE(SYS1.**)) > > Richard Marchant > Johannesburg > > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On > Behalf Of Matan Cohen > Sent: 02 March 2011 09:51 AM > To: IBM-MAIN@bama.ua.edu > Subject: DFDSS copy > > Hi, > > for some reason I needed to empty a DASD disk from its content (All files > are DB2 VSAMS) . > i noticed there is a multivolume DSNs so i added the 'SPHERE' & > 'SELECTMULTI' . > > so after backing up the disk i run this JCL : > //ADB2CPY JOB ,,CLASS=A,REGION=0M,MSGCLASS=X, > // MSGLEVEL=(1,1) > //BFFDBB29 EXEC PGM=ADRDSSU > //SYSUDUMP DD SYSOUT=* > //SYSPRINT DD SYSOUT=* > //DASD DD UNIT=3390,VOL=SER=<OLDDISK>,DISP=SHR > //OUTDSK DD UNIT=3390,VOL=SER=<NEWDISK>,DISP=SHR > //SYSIN DD * > COPY DATASET( - > INCLUDE( DBP.**, - > DBT.**, - > DB29.**, - > )) - > LOGINDDNAME(DASD) - > OUTDDNAM(OUTDSK) - > SPHERE - > SELECTMULTI(ANY) - > CAT - > DELETE > /* > > for some reason half of the Files (not necessarliy multivolume) were not > copied the job ended with RC 0 it seems DFDSS didn't select them , > from the literature: > "For VSAM data sets, the volume list is affected by the use of the > SPHERE keyword as follows: > v Specify SPHERE and you only need to list any part of the base > cluster in the volume list." > > should I run this job again but without : 'SPHERE','SELECTMULTI' ? > is there somthing I forgetten ? > > " > -- > best regards, > matan cohen > MF System Administrator. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- best regards, matan cohen MF System Administrator. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html