$ 0 0 Thanks a lot Carlos and Dieter.The Script is working fine now after removing the headers in flat file Regards, Vijayshankar