Merge Files

If you have 3 different flat files of different logical length then how will you merge them in single flat file? What is the simplest workaround of this problem using sort utility?

Questions by sharsush82

Showing Answers 1 - 3 of 3 Answers

rajalg05

  • Apr 4th, 2009
 

First of all you cant merge files with different record length. Second if you really want to merge those files you will have increase their length using file aid, copy by 3.3 option, select  the 'T' in the screen then select the length (keep a flat length for all) AND then you need to initialize the extra fields. You can have blanks, zeros or spaces (I guess there are more options). After making the 3 files equal length you can simply merge them using sort utility. I guess yo know before merging you need to sort all the files. I hope this would help you.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions