Merging Help

Hi Gurus,

I need a help in merging the files.
I have nearly 7 files and the files will have time stamp in it.

I need to merger these files condition is it is not necessary that all the 7 files has to be there.

suppose if i have only 3 files availabe out of these 7 then i need to merge these 3 only.

Please help me out in solving this.

Thanks in advance

Regards
kumar

Your requirements are too vague. Provide some example of what the 7 files will contain.

ex) file120060504.dat
file220060504.dat
file320060504.dat
....
file720060504.dat

this is how my files will look like.

I need to merge them.

scenario is like this

today out of these 7 files ,3 files can come. In that case i need to merge the 3 files.
2morrow all 7 can come i need to merger them. like this

If you are simply trying to consolodate all of the logs into a single log file then you will use cat:

cat *20060504.dat > biglog20060504.dat