DB2 COPYTOCOPY

DB2 COPYTOCOPY

 

  

Hi fellow DB2 DBA's,

Here's what,

I'm doing a COPYTOCOPY from a FULL IMAGE COPY tape to tape.

The problem is that the original tape every new tablespace it copies gets unloaded and loaded automatically from and into the drive.

How cam I keep the original FULL IMAGE COPY tape in the drive like the backup is, instead of the robot keeps it unloading and loading every new tablespace it has to copy from the original FULL IMAGE COPY tape.


My JCL is written like this,


//SYSXXXX1 DD UNIT=3590,
// DSN=DB2.ICXXXXXX.DBASEXXX.TSXXXXXX,
// LABEL=(001,SL),
// VOL=(,RETAIN),
// DISP=(NEW,KEEP)

COPYTOCOPY TABLESPACE DBASEXXX.TSXXXXXX FROMLASTFULLCOPY
COPYDDN(,SYSXXXX1)


Any idea?

Thanks in advance.

Pedro Gonçalves.
DB2 & UDB email list listserv db2-l LazyDBA home page