Hi,
I have an input file with the following format
"X, col_x1, col_x2.... col_xn , "
"Y, col_y1,col_y2...col_ym , , "
"X, col_x1, col_x2.... col_xn , "
"Y, col_y1,col_y2...col_ym , ,"
....
Due to the fact that FlatFileTask didn't know how to analyze correctly file with two different number of columns and commas after blanks, I use ScriptComponentTask using the following tutorial, which is very helpful:
http://www.rad.pasfu.com/index.php?/archives/38-Script-Component-as-Source-SSIS.html
The problem is that I have a lot of different files like this one so constructing the schema of
the columns takes a lot of time and gives error because of different types of attributes.
The question: How to have the output get the entire row by just having parsed the X or Y char? How this can be coded in script to use conditional split or create directly file_X and file_Y, instead of constructing schemas for recordsets?
Thanks a lot