Hi,
I have resolved my last issue by removing two blank records in the input file. Thnx to everyone for the help.