Search found 2 matches
- 27 Jun 2013 23:02
- Forum: DOS Batch Forum
- Topic: Dynamically merging 2 files on header values
- Replies: 2
- Views: 2129
Re: Dynamically merging 2 files on header values
This is a nasty problem for batch, but it can be done fairly efficiently with some limitations. - Line lengths must be <= 1021 (or there abouts, I'm going from memory) - Line terminators must use Windows style (<CR><LF>), not Unix style (<LF>) - Trailing control characters will be stripped from eac...
- 27 Jun 2013 02:05
- Forum: DOS Batch Forum
- Topic: Dynamically merging 2 files on header values
- Replies: 2
- Views: 2129
Dynamically merging 2 files on header values
Hi All, I have 2 files which i need to merge together based on the column names provided in the file. The first line in both files are header records. The first file has fixed columns but second file can have subset of the columns from file 1 File 1: Column1,column2,column3,column4,column5,column6 A...