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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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