IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

the problem about repro of a vsam ksds file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shaop

New User


Joined: 13 Sep 2005
Posts: 4
Location: shanghai,china

PostPosted: Sun Feb 26, 2006 4:44 pm
Reply with quote

When I repro a ksds file A to file B, the record count was increased.
What's the reason?
Thanks.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Mon Feb 27, 2006 11:21 pm
Reply with quote

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
View user's profile Send private message
shaop

New User


Joined: 13 Sep 2005
Posts: 4
Location: shanghai,china

PostPosted: Fri Mar 03, 2006 6:39 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top