SSIS Split rows in a flatfile using conditional split or script

Viewed 2004

I'm new to SSIS, your idea or solution is greatly appreciated.

I have a flat file with the first row as the file details(not the header). The second row onwards is the actual data.

Data description

First-row format= Supplier_name, Date, number of records in the file eg:

Supplier_name^06022017^3
ID1^Member1^NEW YORK^050117^50.00^GENERAL^ANC ID2^Member2^FLORIDA^050517^50.00^MOBILE^ANC ID3^Member3^SEATTLE^050517^80.00^MOBILE^ANC
EOF

Problem

Using SSIS I want to split the First row into output1 and second row onwards into output2.

With the help of conditional split, I thought I can do this. But I'm not sure what condition to give in order to split the rows. Should I try with multicast?

Thanks

4 Answers
Related