Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DB2 :: Image Copy of a tablespace that contains a clone

$
0
0
Author: Robin Sulsona
Subject: Image Copy of a tablespace that contains a clone
Posted: Thu Jun 02, 2016 1:47 am (GMT 5.5)

I need to know if anyone knows if this is true or it just happened to be what occurred for me due to my own issue in the load of a clone table.
The only thing in the tablespace marked as copy pending was the clone.
I ran an image copy but I didn't check to see that it cleared the flag on the clone - My Bad. It didn't. I had to run a slightly different version of the image copy with the word CLONE to get it to clear that flag.
If I take a normal image copy of this tablespace would it include the CLONE or would I still need to do a separate image copy of the clone?

Ran this first:
TEMPLATE COPYBEFR
UNIT SYSDA
BUFNO 40
DISP(NEW,CATLG,CATLG)
EXPDL '1999000'
DSN 'FANQPROD.AP030.&TS..BKUP(+1)'

LISTDEF UTLIST INCLUDE TABLESPACE AP030TST.AGCOMSM
INCLUDE TABLESPACE AP030TST.AGCOMTM

COPY LIST UTLIST
COPYDDN COPYBEFR
SHRLEVEL REFERENCE

Then had to run this also:

TEMPLATE COPYBEFR
UNIT SYSDA
BUFNO 40
DISP(NEW,CATLG,CATLG)
EXPDL '1999000'
DSN 'FANQPROD.AP030.&TS..CLONE(+1)'

LISTDEF UTLIST INCLUDE TABLESPACE AP030TST.AGCOMSM

COPY LIST UTLIST CLONE
COPYDDN COPYBEFR
SHRLEVEL REFERENCE
_________________
Robin Sulsona
SAA


Viewing all articles
Browse latest Browse all 9405

Latest Images

Trending Articles



Latest Images