|
View previous topic :: View next topic
|
| Author |
Message |
sajjan jindal Warnings : 1 New User
Joined: 09 Sep 2007 Posts: 60 Location: india
|
|
|
|
Hi,
I m trying to merge Incremental Imagecopy to Full Image copy.
I have coded as:
| Code: |
//DSNUPROC EXEC PGM=DSNUTILB,REGION=6144K,
// PARM='D01G,RDBDB1DC.MERGDB1,'
//STEPLIB DD DSN=DB2D.PSYSB.P.D01G.SDSNLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//UTPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//COPY1 DD DSN=RDBD.PEXTB.N.RDBDB006.RDBS2173.INCR,
// DISP=(MOD,CATLG,CATLG)
//COPY2 DD DSN=RDBD.PEXTB.N.RDBDB006.RDBS2173.FULL,
// DISP=(MOD,CATLG,CATLG)
//SYSUT1 DD DSN=RDBD.PEXTB.N.MERGED.FULL.RDBS2173,
// DISP=(NEW,CATLG,CATLG)
//SYSIN DD *
MERGECOPY TABLESPACE RDBDB006.RDBS2173
COPYDDN (COPY1,COPY2)
NEWCOPY NO |
I m getting error
| Code: |
DSNU458I -D2DC DSNUYAS2 - NO IMAGE COPIES TO MERGE
DSNU407I DSNUBCKB - DATA SET ALREADY USED FOR PREVIOUS IMAGE COPY
DDNAME COPY1
DSNU408I DSNUBCKB - 'RDBD.PEXTB.N.RDBDB006.RDBS2173.INCR' EXISTS WITH -
VOLUME=(CATG)
FILE SEQUENCE NUMBER=0
RBA=X'C60B6C59F241'
DATE=10/05/28
TIME=08:17:16
|
Can anyone help to resolve this error? I have tried to take help from Manuals but i did not get much.
Even i m not sure we need to give Full copy name also.
Regards,
Sajjan |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
learn to use the code tags it makes things easier to read for people willing to answer
Your post has been edited to show how it looks much better |
|
| Back to top |
|
 |
ashimer
Active Member

Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
COPY1 DSN is already existing in your case.
NEWCOPY NO is going to create another incremental copy for the named tablespace and not merge the incremental copy with the full copy.
For merging use NEWCOPY YES to create a new full copy image - here you need to mention only the new full copy DSN to be created.
| Code: |
//DSNUPROC EXEC PGM=DSNUTILB,REGION=6144K,
// PARM='D01G,RDBDB1DC.MERGDB1,'
//STEPLIB DD DSN=DB2D.PSYSB.P.D01G.SDSNLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//UTPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSCOPY1 DD
DSN=RDBD.PEXTB.N.RDBDB006.RDBS2173.INCR,
// DISP=(MOD,CATLG,CATLG)
//SYSUT1 DD DSN=&TEMP,
// DISP=(NEW,CATLG,CATLG)
//SYSIN DD *
MERGECOPY TABLESPACE RDBDB006.RDBS2173
COPYDDN SYSCOPY1
NEWCOPY YES
|
|
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|