* Surge in factory activity boosts U.S. equities
* Weak euro zone, Chinese data hit shares outside U.S.
* Euro falls vs dollar after PMI data
By Herbert Lash
NEW YORK, Feb 20 (Reuters) - U.S. stocks and the dollar mostly rose on Thursday on data showing U.S. factory activity accelerated in February at its fastest pace in nearly four years, but surveys showing a soft patch in China and parts of Europe dragged on global equity markets.
Markit's preliminary U.S. Manufacturing Purchasing Managers Index rose to 56.7 in February, its highest level since May 2010, from a final reading for January of 53.7. A reading above 50 indicates expansion.
"The manufacturing data is extremely positive, especially coming after a spate of bad news at a time when the (Federal Reserve) seems committed to slowing stimulus," said Nicholas Colas, chief market strategist at the ConvergEx Group in New York.
Even so, Colas said the U.S. equity market's strength is somewhat surprising given weakness in overseas markets.
"It is good to see investors buying on dips, but I've also been hearing a lot more bearish chatter," Colas said.
Shares in Europe retreated from four-week highs on Chinese and southern European data, while a poor corporate earnings outlook hurt cyclical sectors such as mining and industrials.
But European markets trimmed losses in late trading on the U.S. factory report. News that the number of Americans filing new claims for unemployment benefits fell last week buoyed markets, as it pointed to steadily improving U.S. labor market conditions despite two straight months of weak hiring.
Markit's Composite Purchasing Managers' Index for the euro zone dipped in February, although it held just below January's 31-month high. The service sector in France shrank at its fastest pace in nine months.
MSCI's all-country world equity index, a measure of equity markets in 45 countries, was down 0.23 percent. Its emerging markets index was down 0.92 percent, while the FTSEurofirst 300 index of leading European shares closed down 0.10 percent to 1,337.34.
Stocks on Wall Street were higher. The Dow Jones industrial average rose 66.75 points, or 0.42 percent, to 16,107.31. The S&P 500 gained 6.1 points, or 0.33 percent, to 1,834.85 and the Nasdaq Composite added 11.018 points, or 0.26 percent, to 4,248.971.
Wal-Mart Stores Inc, the world's biggest retailer, was the Dow's biggest decliner, falling 2.4 percent to $73.07 after the company reported a drop in U.S. same-store sales and gave an earnings outlook that was below expectations.
Shares of Tesla Motors Inc hit an all-time high of $215.21 a day after it reported fourth-quarter results that topped expectations and said deliveries of its luxury Model S electric sedan would surge more than 55 percent this year. Shares were up 7.99 percent at $209.12.
Social networking giant Facebook Inc said late Wednesday it would buy mobile-messaging startup WhatsApp for $16 billion in cash and stock, plus an additional $3 billion worth of restricted stock units to WhatsApp's founders. Facebook shares fell 1.47 percent to $67.06 in heavy trading.
The dollar strengthened on the relatively strong U.S. data and after euro zone business surveys pointed to a sluggish recovery and a fragile outlook, which hurt the euro.
The dollar index rose 0.33 percent to 80.411, while against the Japanese yen the dollar traded just above break-even at 102.35 yen.
The euro fell as low as $1.3688, pulling away further from a seven-week high of $1.37735 struck on Wednesday. It last traded down 0.30 percent at $1.3691.
"The euro weakness appears to be due to a combination of both French inflation and euro area PMI coming in a bit softer," said Matthew Derr, currency strategist at Credit Suisse in New York.
Treasuries prices fell as the mostly positive U.S. economic data met expectations.
The 10-year U.S. Treasury note fell 8/32 in price to yield 2.7608 percent.
Spanish bond yields bounced off eight-year lows even as another plump debt sale helped Madrid complete about a quarter of its 2014 debt program just as uncertainty over the euro zone growth outlook resurfaced.
Spanish 10-year yields rose 42 basis points to 3.605 percent.
German 10-year Bund yields, the benchmark for euro zone borrowing costs, were up 3 bps at 1.69 percent.
Bund futures fell 46 ticks to settle at 143.45.
Brent crude slipped towards $110 a barrel after data pointed to slower growth in China, the world's second-largest oil consumer.
Brent eased 47 cents to $110.00 a barrel. U.S. crude edged down 24 cents to $103.07.