Any suggestions on how to map data from a 1220 format data for 1099 forms
The data is in different style fixed width lines
T Record - Only one T Record in a data file
A Record - Can be multiple A Records, but only one followed by a series of B Records
B Records - Can be multiple B Records and represent individual pages, always followed by a C Record
C Record - Can be multiple C Records, but only one following a series of B Records
F Record - Only one F Record in a data file
Typical files will be constructed similar this, but there could be 2 million B Records in a file
T Record
A Record
B Record
B Record
B Record, etc
C Record
A Record
B Record
B Record
B Record, etc
C Record
A Record
B Record
B Record
B Record, etc
C Record
F Record