Hi all,
I have a requirement to merge 3 files which has different record count.
Ex:
File1-SOUTHLANG
File2-LANGDET
File3-LANGYEAR
I have merged these files using paste command as
and got output as
But I require output like
I mean blank value with delimiter shall print when there are no values in the specific file.
Please help me in coding this.
Thanks,
SRK.
Last edited by Franklin52; 01-04-2012 at 08:37 AM..
Reason: Please use code tags for code and data samples, thank you
The logic here is to merge 3 files and during concatenation when there is no data in a file for a record it should be filled with blank value '' and demilted.
Such that output file will be having some data in all fields.
:)Transformation logic on column values in two different files,
File A
12345,000,4444, HKD3.5
12346,000,5555, HKD3.5
File B
12345,4444,54321,6666
12346,5555, 64321,7777
12347,5555, 65321,8888
Requirement as below
1.read file A
2. match with File B ie
if (fileA.column1... (1 Reply)