I have two csv file ,
1. Have new line character at the end of each record
2. Does not have new line character for last record but it has new line character for other record
so i have create a type tree to read both the file
File--Parent group has Record(0:s) has two item Field1 & Field2
File Implicitly delimited with <NL> location infix
Record (0:s) Explicitly delimited with , and location infix
The above structure reads the 2nd file successfully but giving error for 1st file as "INPUT 1 was valid but contained 2 bytes of unknown data at the end"
I already tried with postfix location on File level and terminator as <NL> on record level but this structure will read first file and failed for 2nd file.
So is it possible to have one structure which can read both the file?