Thanks for the reply.
I have done this and am able to see up to 25 sattelites but not able to get a lock on any of them.
All the different roms for the device have the same effect. I have ruled out the sim card as it works on the old phone without failure.
The previous sim card was on O2 and it was not working then.
Perhaps their is something wrong with the hardware or the system as many users seem to have the same problem.
Seems to be related to the AT&T network!
Have been away for a few days.I have tried numerous different roms and numerous gps.conf files and nothing seems to change