How can we mearge 6 huge flat files

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ramdev
Participant
Posts: 2
Joined: Wed Apr 05, 2006 3:43 pm

How can we mearge 6 huge flat files

Post by ramdev »

HI to everybady,
I have 6 huge flat files. I have to mearge those flat files. all are having same delimiters. each having 25 million records. If we can achive through routine pls give me the routine.
rax
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This question will not be answered until it has been moved to the correct forum.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi Rax,
Edit your both post and mention the correct version and Job type you use along with the OS you use.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

25 Million rows per file is not necessarily considered huge, many sites here deal with larger volumes on an hourly basis. Looking at the files from an ETL perspective, do you even need to merge them? Can you not process them through a DataStage job sequentially?
Depending upon your specifi conditions, you might want to simply use an OS level utility to merge these files if they need to be ordered or you can use DataStage stages to do the same thing. Without more information about the operating system, datastage version/type and if you need a true ordered merge there is little or nothing anyone here can do to assist you.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That was going to be my first question - why do you believe they need to be merged?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply