View previous topic :: View next topic
|
Author |
Message |
soumyaranjan007
New User
Joined: 30 Aug 2006 Posts: 30 Location: mumbai
|
|
|
|
Hi Gurus,
i have one Image copy jcl for taking the image copy of db2table. By image copy we are taking backup of table. i have the doubt that if we are taking the backup then where we are storing the data.
can any one explain that jcl. the jcl as follows.
//xxxxxxxx JOB (@),'IMAGEJCL',
// TIME=(,20),CLASS=0,MSGCLASS=R,
// NOTIFY=&SYSUID
/*ROUTE XEQ DB2D
//STEP01 EXEC UCC11RMS
//*
//STEP01 EXEC DSNUPROC,
// SYSTEM='DB2D',
// UID='xxxxxxx'
//SYSCOPY1 DD DSN=&&TEMLE,DISP=(NEW,DELETE,DELETE),
// SPACE=(CYL,(50,50))
//SYSIN DD *
COPY TABLESPACE <table space>
FULL YES ======????????
COPYDDN(SYSCOPY1) =======?????
/*
//
i have mensoned the doubt parameters as ????.
Regard
soumya |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
COPY - To create a backup
It will create an image copy of a table-space or a dataset within
a table-space. There are 2 types of image copies: full and
incremental. A full image copy copies all pages in a table-space
or dataset. An incremental image copy copies only pages that
have been modified since the last use of the COPY utility.
Copy can not be done when tables are in Check pending or
Recovery pending status.
Options - FULL YES (when table space is in Copy Pending
Status) |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
sorry i sent wrong answer, ingnore it |
|
Back to top |
|
|
mbr_raja
New User
Joined: 15 Nov 2004 Posts: 26 Location: Chennai, India
|
|
|
|
When you are taking Image copy, it will back up information based as you defined ( tables, tablespace, database ). As you mentioned that you are taken backup tablespace, then i will backup all information in the VSAM file or with VSAM GDG version. You can easily identify by the keyword SYSCOPY1 as mentioned in COPYDDN. |
|
Back to top |
|
|
|