NEW YORK (Reuters) - The S&P 500 ended lower following a drop in technology and transportation shares on Thursday, while oil prices extended their recent rally.
The S&P 500, along with the Nasdaq, reversed gains from earlier in the session, while MSCI's 47-country All World share index eked out a record high.
The Dow Jones transportation average, often seen as a gauge of the U.S. economy's health, fell 3.1 percent and hit its lowest point in nearly two months, while the S&P technology index was down 0.8 percent, making it the day's worst-performing major group. The Nasdaq biotech index was down 1.9 percent.
Tech has been the best-performing sector this year, leading the S&P 500's 10.6 percent run in 2017.
"The general sentiment of the market coming into the day was that transportation stocks are telling us something that we're not paying attention to," said Art Hogan, chief market strategist at Wunderlich Securities in New York.
"You've got a general feeling a lot of good news is priced into this market," Hogan said.
The Dow industrials set a record closing high, helped by a jump in Verizon.
The Dow Jones Industrial Average rose 85.54 points, or 0.39 percent, to 21,796.55; the S&P 500 lost 2.41 points, or 0.10 percent, to 2,475.42; and the Nasdaq Composite dropped 40.56 points, or 0.63 percent, to 6,382.19.
"Biotech and tech are getting hit because they've been the outperformers. When people get nervous, they take money out of the outperformers first," said Ken Polcari, director of the NYSE floor division at O'Neil Securities in New York.
The biggest one-day drop in AstraZeneca shares, following a drug study failure, dominated trading in Europe, though a handful of results helped broader indexes nudge higher. The pan-European STOXX 600 ended down 0.11 percent.
In the U.S. Treasury and foreign exchange markets, investors continued to evaluate the Federal Reserve's recent statement that it is closer to paring its balance sheet.
The U.S. central bank said on Wednesday it expected to start winding down its massive holdings of bonds "relatively soon," despite striking a cautious tone on low inflation.
Many analysts and traders expect the Fed to announce its balance sheet reduction plans when its policymakers meet in September.
U.S. Treasury bond prices were weighed down by government and corporate debt supply. The Treasury Department sold $28 billion in seven-year notes to fair demand, the final sale of $88 billion in coupon-bearing supply this week.
U.S. benchmark 10-year Treasury notes fell 8/32 in price to yield 2.31 percent, up from 2.28 percent on Wednesday.
The U.S. dollar rose against the euro after U.S. data showing that new orders for key U.S.-made capital goods unexpectedly fell in June.
The euro fell 0.4 percent against the dollar, slipping below the $1.17 mark. It had earlier risen to $1.1776, its highest since January 2015.
In the oil market, a rally in U.S. gasoline futures spurred further gains this week that came after key OPEC members pledged to reduce exports and the U.S. government reported a sharp decline in crude inventories.
Brent crude futures were up 52 cents to settle at $51.49 a barrel, while U.S. crude was up 29 cents to $49.04.
(Additional reporting by Marc Jones in London, Sinead Carew in New York, Wayne Cole in Sydney; Editing by Bernadette Baum, Nick Zieminski and Jonathan Oatis)