NEW YORK — Encouraging news about the U.S. jobs market trumped higher oil prices and worrying developments in Europe's debt crisis on Wednesday.
Oil climbed above $102 a barrel for the first time in more than a year as the political turmoil in Egypt intensified, raising the risk of supply disruptions in the Suez Canal. In Europe, traders dumped Portuguese stocks and bonds as the country's government teetered on the edge of collapse.
That news was offset though by a brighter outlook on U.S. jobs ahead of Friday's monthly employment report. The stock market opened lower, then drifted higher in late morning trading. By noon, indexes turned positive.
"The key takeaway is that jobs matter more than Egypt," said Alec Young, a global equity strategist at S&P Capital IQ. "Nothing is more important to the state of the economy than the jobs market."
In the U.S., fewer people sought unemployment benefits last week and ADP, a payrolls processor, said businesses added more jobs last month than analysts had expected. The government's broader monthly survey of U.S. employment is scheduled to be released Friday morning. Economists predict that employers added 165,000 jobs in June.
The Dow Jones industrial average closed up 56.14 points, or 0.4 percent, to close at 14,988.55.
The Standard & Poor's 500 rose 1.33 points, or 0.1 percent, to 1,615.41. The Nasdaq composite gained 10.27 points, or 0.3 percent, to 3,443.67.
Trading closed at 1 p.m. Eastern Daylight Time ahead of the July 4th holiday Thursday. Regular trading will resume Friday.