Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Image Copy of a tablespace that contains a clone

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Robin Sulsona

New User


Joined: 14 Dec 2015
Posts: 10
Location: United States

PostPosted: Thu Jun 02, 2016 1:47 am    Post subject: Image Copy of a tablespace that contains a clone
Reply with quote

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:
Code:
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:

Code:
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
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2365
Location: Hampshire, UK

PostPosted: Thu Jun 02, 2016 3:48 pm    Post subject:
Reply with quote

Code tags, code tags, code tags. Use them.
Back to top
View user's profile Send private message
Robin Sulsona

New User


Joined: 14 Dec 2015
Posts: 10
Location: United States

PostPosted: Thu Jun 02, 2016 5:54 pm    Post subject: Reply to: Image Copy of a tablespace that contains a clone
Reply with quote

Sorry, didn't realize how important that was. I will remember to put them on the next time.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2424
Location: NY,USA

PostPosted: Thu Jun 02, 2016 10:38 pm    Post subject:
Reply with quote

Code:
CLONE in COPY
is must for image copy.
Back to top
View user's profile Send private message
Robin Sulsona

New User


Joined: 14 Dec 2015
Posts: 10
Location: United States

PostPosted: Thu Jun 02, 2016 11:32 pm    Post subject: Reply to: Image Copy of a tablespace that contains a clone
Reply with quote

OK Thank you, I was just hoping that maybe it wasn't. I am putting together a document for our staff so that it will be obvious to the next person that you must have 2 image copy steps in order to get all of the data backed up securely.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Open During Copy-Excessive EXCP ... David Beckham JCL & VSAM 1 Sat Jun 27, 2020 5:23 pm
No new posts Batch JCL to Copy from Unix Directory... satish.ms10 JCL & VSAM 5 Tue May 19, 2020 7:53 pm
No new posts File Manager Copy narinder4075 IBM Tools 1 Thu Apr 30, 2020 9:15 pm
No new posts Copy a dataset without authorization Renato Zangerolami TSO/ISPF 15 Tue Feb 11, 2020 6:15 pm
No new posts adrdssu for copy all data robyjhl JCL & VSAM 5 Tue Nov 12, 2019 11:17 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us