|
Hello Group,
I am having trouble with ADRDSSU restoring a file to a different name
.
I used this JCL to back up a VSAM file to a 'flat' file as referenced by the
TAPE DD:
DUMP DS(INCLUDE(SYTCBV.DATA.CLSS147.RLSTDB.KSDS)) -
OUTDDNAME(TAPE) -
ALLDATA(*) -
ALLEXCP -
CANCELERROR -
CONCURRENT -
NOTIFYCONCURRENT -
OPTIMIZE(4) -
SPHERE -
TOLERATE(ENQFAILURE) -
WAIT(0,0)
I tried this JCL to restore the 'flat' file:
RESTORE INDDNAME(TAPE) -
DATASET(INCLUDE(SYTCBV.DATA.CLSS147.RLSTDB.KSDS)) -
RENUNC(SYTCBV.DATA.CLSS147.RLSTDB.*,SYTCOV.DATA.CLSS147.RLSTDB.*) -
CANCELERROR -
SPHERE -
TOLERATE(ENQFAILURE) -
WAIT(0,0)
I keep getting this error: ADR730W (001)-FDSRL(01), CLUSTER
SYTCBV.DATA.CLSS147.RLSTDB.KSDS IS OPEN
First I tried to restore to OUTDDNAME and put a DD in that referenced SYTCOV.
It still tried to go out to SYTCBV.
What is the best way to backup a VSAM file to a flat file and then restore it
back? I would like to restore it to something else first as a test.
Thank you, Dave Hansen
Sr. Systems Programmer
Hennepin County
|