Why don't try DUMP/RESTORE process...?

On Wed, Mar 2, 2011 at 3:51 PM, Matan Cohen <matancohen...@gmail.com> wrote:

> 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
>



-- 
Cobe Xu

Best Regards
-----------------------------------------------------------
z/OS Performance & Capacity Analyst
z/OS System Programmer
Email: cob...@gmail.com
-----------------------------------------------------------
*"Impart fishing is much better than just donate fishes"*

----------------------------------------------------------------------
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

Reply via email to