Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
the problem about repro of a vsam ksds file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: the problem about repro of a vsam ksds file
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    Post subject: Re: the problem about repro of a vsam ksds file
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us