Posted: Wed Aug 27, 2008 7:41 am Post subject: Alternate for splice
Hello all,
I am using following JCL to get the matching records between two files. My file1 has only 20000 accounts and my file2 has over 168,000,000 records (both are in sorted). I am trying to get all the records from files2 that match with file1.
Main prblem with this JCL is it takes too much workspace, and kept on failing when space is not available. Is there any other efficient way of doing this? (Writing a program could solve my problem, but i am trying to do this using IBM utilities)
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Aug 27, 2008 10:23 am Post subject:
Given that "both are in sorted" means both files are already in sorted order by the 1,22,CH field, you could try this DFSORT/ICETOOL job ... it will use a MERGE for the SPLICE instead of a SORT, so it won't use sort work data sets.
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum