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

VSAM File Merge


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

New User


Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Fri May 05, 2006 3:07 pm
Reply with quote

Hi,

My shop have a VSAM KSDS Master File containing about a million records. There is a transaction file generated daily containing few hundred records. Date and Time are part of the key of the KSDS, so never issue of duplicates.

Daily we need to merge the transaction file into the master file. My query is what will be the most efficient way in terms of processing time to do this merge. Currently we are doing it through SORT. Can somebody please guide me with the different options, and the most time efficient of them in their views.

Thanks a lot.

Vinod Chawda
Back to top
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Fri May 05, 2006 5:58 pm
Reply with quote

use IDCAMS. Thats the best for VSAM datasets

Even if you have duplicates, the job will give a non zero RC (8) and continue copying all the non-duplicates.

cheers
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri May 05, 2006 8:26 pm
Reply with quote

Quote:
use IDCAMS. Thats the best for VSAM datasets


Not necessarily. A DFSORT merge may be more efficient. The only way to know for sure for a particular situation is to try it both ways and check the processing time.
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 Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top