Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkKelvin,
The situation you present has a couple of difficulties, but there are some options.
First off, you cannot have data in LAE where 2 entirely different field sets sit literally on top of one another. So any file physically setup as your "...requirement.txt" file will fail to load.
One option you have is to, instead of stacking the files, merging all the fields into one file, and attaching the meta-data record (networktest1.txt) to each of the actual data records (networktest.txt).
1. Load each of your files individually using a Delimited File node.
2. Useing a Lookup node, you essentially join the 2 files together, creating one file with all the data columns of both, and matching the single meta-data record to all the regular data records.
I've attached a simple graph that does this using your data files. This still gives you the ability to add metadata to all your records, and process it in LAE.
The only real option to create a file similar to the one you sent, would be to create a custom Python node to merge up the data however you saw fit. But you would have to handle the file with python nodes, because as I said above the standard nodes cannot handle multi-header data files.
Regards
Timon Koufopoulos
MDA Support
Attachments:
Merged.zip