Wall Street ended modestly higher on Wednesday on stronger-than-expected U.S. labor and service-sector data, but the Dow industrials were hobbled by a slide in Hewlett-Packard.
Shares of Hewlett-Packard dropped sharply after the company warned on Wednesday of a darker outlook for 2013 earnings, reflecting slow progress on CEO Meg Whitman's turnaround plan while technology spending sputters and driving its stock down 13 percent to a nine-year low.
Continue Reading Below
The three major U.S. stock indexes, which initially got a modest lift from the positive data, came off their highs by late afternoon trade on lingering concerns about the global economy. A gloomier outlook in China and Europe weighed on commodity prices and hit energy and materials shares.
"The ADP numbers were good and the services index was good, but we are missing the big catalyst to keep the market up," said Jack De Gan, principal and senior advisor at Harbor Advisory in Portsmouth, New Hampshire.
"The next big catalyst will be Friday's employment numbers, if we don't get any news out of Europe on the progress of Spain's bailout before that."
Data showed growth in the U.S. services sector picked up in September, defying economists' expectations for a slight decrease, while last month, the private sector added more jobs than forecast. The data comes ahead of the closely watched monthly U.S. non-farm payrolls report on Friday.
The S&P's consumer discretionary sector index rose 0.8 percent, helped by stocks like Amazon , up 2.1 percent at $255.92, and homebuilders like PulteGroup , up 6 percent at $16.50.
But prices of crude and metals tumbled, pressuring stocks in the energy and basic materials sectors after the euro zone looked unable to dodge a recession based on a reading of purchasing managers indexes last month, and China's slowdown looked likely to extend to a seventh quarter.
The S&P energy index fell 1.1 percent. Chevron Corp also slipped 1.5 percent, falling to $116.14, and dragged on the Dow.
The Dow Jones industrial average gained 12.25 points, or 0.09 percent, to 13,494.61 at the close. The Standard & Poor's 500 Index advanced 5.24 points, or 0.36 percent, to 1,450.99. The Nasdaq Composite Index rose 15.19 points, or 0.49 percent, to close at 3,135.23.
Earlier in the session, the Dow climbed as high as 13,536.27, while the S&P 500 hit an intraday high at 1,454.30. The Nasdaq rose to an intraday high at 3,142.36.
HP, the largest U.S. technology company by revenue, forecast that its earnings will slide sharply next year, compared with Wall Street's expectations for flat profits. HP shares fell 13 percent to close at $14.91, after falling as low as $14.85.
But market participants say the impact of HP on other technology companies is limited.
"If you look at Apple and Google, they are pretty much doing well today. HP is basically on its own," said Ben Schwartz, chief market strategist at Lightspeed Trading LLC in Chicago.
Apple shares rose 1.5 percent to $671.45, and Google shares gained 0.7 percent to $762.50.
Best Buy shares gained 4.7 percent to $17.76 as founder Richard Schulze and at least four private-equity firms started examining its books, in early steps toward what could become an $11 billion buyout.
The S&P 500 ended September with its fourth-straight month of gains, adding roughly 11 percent since the end of May.
"The market has lifted meaningfully since June 1st, and it has taken the last couple of weeks to consolidate those gains," said Jim Russell, chief equity strategist at U.S. Bank Wealth Management in Cincinnati.
The proportion of bullish U.S. investment advisors fell below 50 percent for the first time in five weeks, hitting 46.8 percent in the latest week versus 51 percent the previous week, according to a survey by Investors Intelligence on Wednesday.
Investors often see bullishness as a contrarian indicator, meaning that when bullishness is running high, the market may be due for a pullback. Investors Intelligence said a reading of 55 can often signal a market top.
Earlier in the session, Nasdaq canceled some trades in shares of Kraft Foods Group that had pushed the stock up about 29 percent in just one minute, the latest in a string of trading glitches that have rattled market confidence. Kraft shares ended down 1.2 percent at $44.87.
Shares of Family Dollar Stores rose 3.9 percent to $68.56 after the discount chain posted a higher quarterly profit.
Not all was rosy, though, on the earnings front. Monsanto shares fell 2.2 percent to $88.59 after the agribusiness group posted a fourth-quarter loss during a seasonally sluggish sales period.
About 6.2 billion shares changed hands on the New York Stock Exchange, Amex and Nasdaq, compared with the average daily volume of 6.38 billion.
Decliners slightly outran advancers on the NYSE, with 1,499 issues falling and 1,474 names rising. On the Nasdaq, about 13 stocks fell for every 11 that rose.
(Editing by Jan Paschal)