First thing …u need to follow what RMG said , to make sure source system is ready to change the file layout , to make it easy on your part ( i dont know how much effort is required on their part to do that)
I dont think u could do 2 schemas and work on same fiel, i dont know if the first line and the second line are related or are those completly different records.
if they are completly different records , then what u can do is u need to split the incoming file into two files one which contains all the records with no delimeter and one with delimeters( u may need to write a java service which works on the file :- as a preprocessing step).
once the 2 files are created , u can then use your processing to work on 2 files( create 2 schemas and the reguar stuff).
Note :- the above solution should be used only when the source system is not ready to change the way they are sending the file ( As RMG mentioned)
HTH
sri
#webMethods#edi#Integration-Server-and-ESB