U.S. stocks closed mixed Wednesday, as the Dow and S&P 500 pushed into uncharted territory ahead of a government jobs report expected to confirm economic strength. In U.S. economic news, the ADP jobs report reported better-than-expected numbers. The report is viewed as an indicator of the all-important non-farm payrolls due Thursday, estimated to rise by 212,000. Federal Reserve Chair Janet Yellen said that monetary policy has limitations in addressing financial stability risks. May factory orders reported a greater decline than expected. The dollar edged higher against other global currencies. Light sweet crude oil for August delivery fell 86 cents to $104.48 a barrel on the New York Mercantile Exchange. Gold futures added $4.30 to $1,330.90 an ounce. The Dow Jones industrial average gained 20.17, or 0.12 percent, to 16,976.24. The broader Standard & Poor's 500 index gained 1.30, or 0.07 percent, to 1,974.62. The technology-heavy Nasdaq composite dropped 0.92, or 0.02 percent, to 4,457.73.