Copy Utility abend



IBM's flagship relational database management system

Copy Utility abend

Postby hayt.main » Sun Aug 23, 2009 3:19 pm

Hi , I am getting the follwing error, when I tried taking image copy of my tablespace.

38I 231 05:26:34.81 DSNUGDYN - DATASET ALLOCATED. TEMPLATE=IMGTSCPY
DDNAME=SYS00010
DSN=WNPM.WNPMSU.HCM9CN2.PTAMSG.IC.G0001V00
7I 231 05:26:34.81 DSNUBCKB - DATA SET ALREADY USED FOR PREVIOUS IMAGE COPY
DDNAME SYS00010
8I 231 05:26:34.81 DSNUBCKB - 'WNPM.WNPMSU.HCM9CN2.PTAMSG.IC.G0001V00' EXISTS WITH -
VOLUME=(CATG)
FILE SEQUENCE NUMBER=0
RBA=X'01116B92FB34'
DATE=09/08/19
TIME=00:40:54
2I 231 05:26:34.85 DSNUGBAC - UTILITY EXECUTION TERMINATED,
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Copy Utility abend

 

Re: Copy Utility abend

Postby arcvns » Sun Aug 23, 2009 3:36 pm

DATA SET ALREADY USED FOR PREVIOUS IMAGE COPY
Does n't this error message give a hint about the reason for abend?
Arun
User avatar
arcvns
 
Posts: 55
Joined: Sat Feb 28, 2009 12:36 am
Location: India
Has thanked: 0 time
Been thanked: 0 time

Re: Copy Utility abend

Postby hayt.main » Mon Aug 24, 2009 7:39 am

If that is the case. then how come the same dataset is created in JCL?
What I need to do now? To recitfy this error?
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Copy Utility abend

Postby dick scherrer » Mon Aug 24, 2009 8:35 am

Hello,

then how come the same dataset is created in JCL?
Please clarify - i do not understand the question.

Why is the process trying to create generation 1 (g0001v00) again? Typically, new generations are created as a (+1) and "the next" generation is assigned?

If this is a gdg, the jcl may need to be corrected to use the next relative generation rather than and absolute 1. It may help if you post the actual jcl.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Copy Utility abend

Postby hayt.main » Tue Aug 25, 2009 7:55 pm

I have created JCL to take Image copies for a table space, i have taken 5 generations of GDG datasets and deleted the generations again and trying to take the image copies i am getting the above error.
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Copy Utility abend

Postby dick scherrer » Wed Aug 26, 2009 3:54 am

Hello,

Suggest you talk with your dba. You only "undid" 1/2 of the footprints. DB2 still remembers these were already used for image copies.

Why not use the gdg as designed and let the unneeded generations roll of when not needed?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to DB2

 


  • Related topics
    Replies
    Views
    Last post