Stocks closing mixed in a holiday shortened trading session with the Nasdaq and S&P 500 posting record high closes as data pointing to a softening economy raised hopes that the Fed could slash interest rates in September.