Looking at your example I have one all deciding question.
Is this all data related to one customer?
If so the 16th character differs in the initial code hence this would identify the type of data which is provided in that specific line.
If my assumption isn't correct it makes life a little bit more complicated but it is still possible to solve it.
If my assumption is correct I would configure the source as fixed width with column 1 with position 1-15, column 2 with position 16, column 3 with position 17-32 and the rest of the line as column 4 for which I would apply logic in an expression after a sorter.
If my assumtion isn't correct I would define the source as delimited with the delimiter a space or tab? and the option treat consecutive delimiters as one
column 1 would need to be able to contain 32 characters and then 4 columns which would need to be able to contain the data which can be provided by the source.
After the source qualifier a sorter and an expression and logic to identify the type of record you are processing.
If you need further information don't hesitate to ask.
1 of 1 people found this helpful
Is this flat file a regular flat file or a PWX mainframe file . If its a mainframe file you may be able to create multi layered copybook to read it .