multi layout MLOAD

Tools
Enthusiast

multi layout MLOAD

Hi, i am having mainframe FB file which contains header record(ex: CBS SYSTEM 29MAY2009) and details records of different length in which column values are separated by '~' and finally trailor record(ex; record count: 25000). I want to load this data into header table and detail table and trailor table.
My question is can i load the data into all 3 tables(header record to header table, details records to detail table etc..) by using one MLOAD job?I tried by defining 3 layouts, but there is no indicator field to identify header or trailor or details.so the job got abended.
One method i know is to use splitter job to separate the above file into 3 separate files and load it.Can you please suggest is there any other efficient way ,we can load the data into 3 tables?