I'm new to DFSMS Flashcopy and would like advice.
I used the following JCL step to backup a source volume to target volume.
//STEP901A EXEC PGM=IKJEFT01, // REGION=0K //SYSTSPRT DD SYSOUT=* //SYSUADS DD DSN=SYS1.UADS, // DISP=SHR //SYSLBC DD DSN=SYS1.BRODCAST, // DISP=SHR //SYSTSIN DD * FCESTABL SDEVN(X'901A') TDEVN(X'9040') ONLINTGT(YES) /*
Source volume (SDEVN(x'901a') was actually vol=ser=D2901A.
Target volume (TDEVN(x'9040') was actually vol=ser=FC9040.
Offload job step ended RC=0.
Data on unit=9040, vol=ser=FC9040 actually had data matching what was on original source unit=901A, vol=ser=D2901A.
When I went to backup the unit=9040, vol=ser=FC9040, using PGM=ADRDSSU, and JCL step.
//JSTEP01 EXEC PGM=ADRDSSU //SYSPRINT DD SYSOUT=* //TAPE1 DD UNIT=ETAPE,LABEL=(1,SL),DISP=(,KEEP), // VOL=(PRIVATE,RETAIN,1,SER=(Y06080)),DSN=BACKUPA.FC9040
//SYSIN DD * SERIAL DUMP IDY(FC9040) OUTDDNAME(TAPE1) OPT(4) ALLE ALLD(*) ADMIN
my adrdssu failed with
ADR316W (002)-DDTFP(09), AN LOGICAL ERROR WAS ENCOUNTERED ON THE VOLUME LABEL TRACK, AND ONE OR MORE TRACKS WERE NOT PROCESSED
when I display the target volume using /d u,,,9040,1
I get the following info:
IEE457I 09.52.55 UNIT STATUS 959 UNIT TYPE STATUS VOLSER VOLSTATE 9040 3390 O FC9040 PRIV/RSDNT
I'm now wondering if it kept the original vol=ser of D2901A somewhere on the target volume and now FC9040 thinks its D2901A.
can someone advise how to use FCESTABL to flashcopy a source volume to a target volume and then back up the target volume to tape properly so that the original source volume could be restored from tape backup copy if needed.
thanks, in advance
robert nusz
Software/Hardware used:
z/OS v1r10, DFSMS, FCESTABL, ADRDSSU
ASKED:
April 6, 2010 3:00 PM
UPDATED:
May 20, 2010 4:08 PM