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

DFSORT or DB2 or SAS for merging flat files??


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

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Feb 19, 2009 3:49 pm
Reply with quote

Hi,

The tricks on the "SMART DFSORT TRICKS" document were really helpful. Thanks for putting all of them together. icon_biggrin.gif
I have a question regarding the Merging done using the splicing technique.

I have a requirement to merge two really big files. The merge condition is based on 2 key fields.
The two input files have roughly 5 fields and record length of 300 to 400.

For merging we have three options in our shop.
1) Using DB2 tables and then merging together using queries. And then write them to an external file.
2) Reading them into SAS databases and then merging using DATA step and then writing to external file.
3) Using DFsort merging technique.

Could you please tell me which technique is better so that the CPU usage is less.
Also could you please tell me which technique is optimum for ultilising less temp work space.

Also if it is not confidential.... icon_cool.gif "who wrote "SMART DFSORT TRICKS e-book???"
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: Thu Feb 19, 2009 10:05 pm
Reply with quote

Quote:
The tricks on the "SMART DFSORT TRICKS" document were really helpful. Thanks for putting all of them together


You're welcome. I'm glad you find it helpful.

Quote:
who wrote "SMART DFSORT TRICKS e-book???"


I wrote that paper as well as the other papers (Ask Professor Sort, Beyond Sorting, etc) on the DFSORT website. Kolusu and others contributed some of the "Smart DFSORT Tricks".

Quote:
Could you please tell me which technique is better so that the CPU usage is less.
Also could you please tell me which technique is optimum for ultilising less temp work space.


The only way to find out for sure is to try all three techniques using your specific requirements and data, and compare the results. Anything else is just speculation.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Feb 20, 2009 1:51 pm
Reply with quote

Thanks Frank, icon_biggrin.gif

Actually I did not know the technique to measure the CPU usage in the three techniques as I have only basic knowledge on DB2 and SAS.
I will try them out with and see wat happens.

Have not heard about Ask Professor Sort, Beyond Sorting. They sound interesting..will try them out..
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top