S&P 500 closes at record high; earnings, rate outlook in spotlight - Reuters