View previous topic :: View next topic
|
Author |
Message |
shaop
New User
Joined: 13 Sep 2005 Posts: 4 Location: shanghai,china
|
|
|
|
When I repro a ksds file A to file B, the record count was increased.
What's the reason?
Thanks. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
shaop,
Can you please give us the exact REPRO JCL, SYSIN please.
How many records did the file increase by?
There are a couple of keywords, REPLACE and REUSE that you probably have specified, but in case you don't. If you don'y specify reuse, REPRO will append the new records to the existing ones.
Code: |
REPLACE - WHEN COPYING INTO A NON-EMPTY KSDS, OR RRDS, REPLACE
SPECIFIES THAT ANY SOURCE RECORD WHICH HAS A KEY OR
RECORD NUMBER IDENTICAL TO A KEY OR RECORD NUMBER OF
A TARGET RECORD IS TO REPLACE THE TARGET RECORD.
DEFAULT - NOREPLACE
NOREPLACE- WHEN COPYING INTO A NON-EMPTY KSDS, OR RRDS, NOREPLACE
SPECIFIES THAT ANY SOURCE RECORD WHICH HAS A KEY OR
RECORD NUMBER IDENTICAL TO A KEY OR RECORD NUMBER OF
OF A TARGET RECORD IS NOT TO REPLACE THE TARGET RECORD.
DEFAULT - NOREPLACE
REUSE - SPECIFIES THAT THE DATA SET IS REOPENABLE AS A NEW DATA
SET. THIS IMPLIES THAT EXISTING DATA ON AN OUTFILE DATA
SET MAY BE OVERLAID BY A REPRO OPERATION.
DEFAULT - NOREUSE
NOREUSE - SPECIFIES THAT THE DATA SET IS NOT REOPENABLE AS A NEW
DATA SET.
DEFAULT - NOREUSE
|
Dave |
|
Back to top |
|
|
shaop
New User
Joined: 13 Sep 2005 Posts: 4 Location: shanghai,china
|
|
|
|
DavidatK
First, I just deine file B model A. After that, I repro A to B.
and when I listcat A and B, I got that B's record count = A's record count +2.
Now I could not connect to My Host. So I will post the job log as soon as possible. |
|
Back to top |
|
|
|