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 [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html