* Wal-Mart, Home Depot rise after results
* U.S. consumer prices up 0.2 pct in Oct
* Urban Outfitters, Dick's Sporting sink on weak results
* Dietary supplement makers fall
* At close: Dow up 0.04 pct, S&P down 0.13 pct, Nasdaq up 0.03 pct (Updates to close of session)
By Noel Randewich
Nov 17 (Reuters) - U.S. stocks forfeited gains on Tuesday after a soccer match between Germany and the Netherlands was called off over fears of a bombing.
All three major U.S. indexes had ventured into positive territory following upbeat earnings reports from Wal-Mart and Home Depot. But they quickly relinquished those gains after the friendly match was canceled less than two hours before its start due to indications of a planned attack with explosives at the stadium in Hanover.
That added to apprehension following last week's attacks in Paris that killed 129 people.
"These situations create uncertainty and in uncertain times everyone goes to cash," said Mohannad Aama, Managing Director, Beam Capital Management LLC in New York.
Despite the broad market's reversal, Wal-Mart ended 3.54 percent higher and Home Depot climbed 4.42 percent, pushing the S&P 500 retail index up 1 pct.
The healthy quarterly performance of Wal-Mart and Home Depot stood in contrast to results from department stores Macy's and Nordstrom last week that sent some retail stock sharply lower.
"There's a shift in consumer behavior, but the consumer is still spending, said Steve Goldman, principal of Goldman Management in Short Hills, NJ. "They're just spending differently, whether on restaurants or travel."
Home Depot rival Lowe's rose 1.69 percent and Target added 0.83 percent. Both report their quarterly results on Wednesday.
Data on Tuesday offered a mixed view of the health of the U.S. economy - consumer prices increased in October after two straight months of declines, while industrial production fell.
The modest rise in inflation could bolster chances of the Federal Reserve raising interest rates next month, but weak industrial output raised concerns about the robustness of fourth-quarter economic growth.
The Dow Jones industrial average ended up 0.04 percent at 17,489.5 and the S&P 500 lost 0.13 percent to 2,050.44.
The Nasdaq Composite added 0.03 percent to finish at 4,986.02.
Seven of the 10 major S&P sectors fell, with the utilities sector's 1.85 percent drop leading the decliners.
Shares of dietary supplement makers sank after federal agencies, including the Department of Justice, said they would announce criminal and civil actions related to unlawful advertising and sale of dietary supplements.
GNC Holdings dropped 6.38 percent, Vitamin Shoppe fell 4.92 percent and Herbalife lost 1.48 percent. None of the companies were named in the subsequent Justice Department release.
Underscoring the uneven performance among retailers, Urban Outfitters dropped 3.84 percent and Dick's Sporting Goods lost 9.43 percent after handing in quarterly report cards that disappointed investors.
Declining issues outnumbered advancing ones on the NYSE by 1,934 to 1,126. On the Nasdaq, 1,501 issues fell and 1,290 advanced.
The S&P 500 index showed 10 new 52-week highs and 16 new lows, while the Nasdaq recorded 46 new highs and 148 new lows.
About 7.5 billion shares changing hands on U.S. exchanges, compared to the 7.2 billion daily average for the past 20 trading days, according to Thomson Reuters data. (Additional reporting by Abhiram Nandakumar in Bengaluru; Editing by Andrew Hay, Chizu Nomiyama and Nick Zieminski)