Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VSAM File Merge

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: VSAM File Merge
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    Post subject:
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 Moderator


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

PostPosted: Fri May 05, 2006 8:26 pm    Post subject:
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    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 Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us