in reply to Re^3: Problem opening file
in thread Problem opening file

Thanks for your suggestions, I've rewritten the open call as per your and marinersk's suggestions and will also add $^E to the output.

I'll have a chat with the boss today as to how much of the code I can share with you and try to get another update in after lunch