(Adds close of European markets)
* Amazon Prime online sale boosts technology shares
* Dollar climbs to two-month high against yen
* U.S. Treasury yields slip
* Crude oil rebounds slightly
By Herbert Lash
NEW YORK, July 10 (Reuters) - The U.S. dollar climbed to a two-month high against the yen on Monday and global equity markets rallied, lifted by robust economic data from Germany and renewed interest in U.S. technology stocks spurred by an Amazon Prime online sale event.
The dollar rose after the Bank of Japan last week offered to buy an unlimited amount of bonds and following an unexpected drop in May in Japanese machinery orders that pressured the yen.
Stocks on Wall Street edged higher as gains in technology outweighed losses in healthcare. Seven of the 11 major S&P sectors rose, with the infotech index up 0.9 percent and the healthcare index down 0.35 percent.
Shares of Amazon.com Inc, lifted by the one-day sale event for subscribers to its Amazon Prime service, contributed the second most points to the benchmark S&P 500, slightly behind Apple Inc. Facebook Inc, Microsoft Corp and Nvidia Corp were the next biggest gainers. Amazon rose 2.1 percent to $998.87, and Apple rose 1.16 percent to $145.85.
Investors, especially ETF traders who like sectors, have tried in recent weeks to establish new leadership in the U.S. equity market but have returned to the technology sector, said Rick Meckler, president of hedge fund LibertyView Capital Management LLC in Jersey City, New Jersey.
"The biggest motivating thing in today's market, and it's certainly thin trading, is the Amazon Prime day, which has gotten people interested in Amazon again," Meckler said.
The Dow Jones Industrial Average rose 24.35 points, or 0.11 percent, to 21,438.69. The S&P 500 gained 5.88 points, or 0.24 percent, to 2,431.06, and the Nasdaq Composite added 33.78 points, or 0.55 percent, to 6,186.86.
Stock markets advanced around the world as well. The pan-European FTSEurofirst 300 index of leading regional shares rose 0.42 percent to close at 1,500.77, while MSCI's gauge of global stocks gained 0.39 percent.
Surprisingly strong data on German exports in May lifted German equities and provided a bounce for European shares. The data show a strong German economy ahead of a Sept. 24 election in which Chancellor Angela Merkel is seeking a fourth term.
The dollar index, which tracks the greenback against six major rivals, traded flat at 96.005. Against the yen the dollar was up 0.18 percent, to 114.09 yen, after earlier hitting 114.29 yen, its highest level since May 11.
"The dollar has been broadly supported over the past couple of days and is showing some mild signs of recovery after weakness in the prior week," said Erik Nelson, currency strategist at Wells Fargo Securities in New York.
U.S. Treasury yields slipped after rising for more than a week, in line with weakness in European bond markets. Investors consolidated positions after last week's strong U.S. non-farm payrolls report, which has kept the Federal Reserve on track towards raising interest rates at least once more this year.
U.S. long-dated yields, which move inversely to prices, fell for just the second time in nine days.
"This is mostly consolidation given there's not a lot of data," said Bruno Braizinha, interest rates strategist at Societe Generale in New York.
Euro-zone bond yields fell, with investors buying back bonds after a two-week sell-off on the belief the European Central Bank would unwind its stimulus sooner rather than later.
The yield on Germany's 10-year government bond , the benchmark for the region, posted its biggest one-day decline in almost four weeks, down 4 basis points at 0.54 percent.
Benchmark 10-year U.S. Treasury yields fell to 2.3659 percent, from 2.393 percent on Friday. After Friday's jobs report, U.S. 10-year yields hit an eight-week high of 2.398 percent.
Crude oil rebounded. Brent crude futures rose 17 cents to settle at $46.88 a barrel, while U.S. crude futures rose 17 cents to settle at $44.40 a barrel.
Editing by Bernadette Baum and Leslie Adler