The S&P 500 closed little changed as a rally in health-care shares was offset by declines among commodity producers, while investors awaited a final batch of earnings reports and further clues on prospects for the economy.
Health-care stocks jumped after their worst two weeks since February, while energy producers slid for a second day amid lower crude prices. Weaker metals prices sent other commodity shares lower. Freeport-McMoRan Inc. dropped 11 percent as copper sank and the company agreed to sell one of its mines. LendingClub Corp. tumbled 35 percent after its chief executive resigned as an internal review found abuses tied to the sale of loans.