U.S. equities were higher at midday as S&P 500 neared an all-time high.