The S&P 500 and Dow Jones Industrial Average were almost completely flat, while the Nasdaq eked out a less than 0.1% increase. All three indexes moved higher earlier in the day before erasing gains in the last hour of trading.