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.
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
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.