PSX hits record closing high; rupee flat