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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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