U.S. Markets closed

US STOCKS-Wall St scales record highs on earnings optimism, robust data

* Consumer prices rise 0.3 pct in Dec. vs est. rise of 0.2 pct

* Retail sales up 0.4 pct vs est increase of 0.4 pct

* Facebook falls after making changes to News Feed

* Indexes up: Dow 0.65 pct, S&P 0.50 pct, Nasdaq 0.59 pct (Updates to early afternoon)

By Sruthi Shankar

Jan 12 (Reuters) - Wall Street rose to record highs on Friday as fourth-quarter earnings season kicked off with solid results from JPMorgan and BlackRock and robust retail sales drove gains for consumer stocks.

JPMorgan, the biggest U.S. lender by assets, said the new tax law would help future profits by not only reducing the amount it pays the federal government but also by stimulating more business. The bank's shares rose more than 1 percent.

BlackRock rose 3 percent after the world's largest asset manager reported profit that beat estimates as investors flooded into the relatively low-cost funds.

Bank stocks also gained from a rise in Treasury yields after underlying U.S. consumer prices for December posted their biggest gain in 11 months, signaling a pickup in inflation.

"There is optimism that earnings season is going to be relatively good and belief that the overall economy is continuing to get healthier," said Robert Pavlik, chief investment strategist at SlateStone Wealth in New York.

"Interest rates are moving up, but not to the extent that it is causing much concern. The CPI data that came in is a good level to be in an economy that seems to be expanding."

Wells Fargo slipped 0.3 percent after it set aside $3.25 billion in the fourth quarter to cover legal expenses related to probes into its mortgage and sales practices.

Earnings for S&P 500 companies are expected to increase on an average by 12.1 percent in the quarter with profit for financial services companies likely to increase 13.2 percent, according to Thomson Reuters I/B/E/S.

At 12:47 p.m. ET (1747 GMT), the Dow Jones Industrial Average was up 166.54 points, or 0.65 percent, at 25,741.27 and the S&P 500 was up 13.93 points, or 0.50 percent, at 2,781.49.

The Nasdaq Composite was up 42.49 points, or 0.59 percent, at 7,254.26.

The S&P consumer discretionary index jumped 0.78 percent after an increase in retail sales showed households bought more goods, suggesting the economy exited 2017 with strong momentum.

Amazon rose 1.89 percent to breach $1,300 for the first time, while Home Depot rose 1 percent and Walmart 0.6 percent.

Sales at online retailers soared 1.2 percent in December. "A lot of these companies like Target and Home Depot are getting on with the internet ecosystem of e-commerce," said Josh Jalinski, president of Jalinski Advisory Group.

Among other stocks, Facebook fell 3.5 percent after the company started changing the way it filters posts and videos on News Feed.

Advanced Micro Devices fell 1.61 percent after the chipmaker said its microprocessors are prone to both variants of the Spectre security flaw, days after saying its risk for one of them was "near zero".

Advancing issues outnumbered decliners on the NYSE by 1,474 to 1,376. On the Nasdaq, 1,808 issues rose and 1,069 fell. (Reporting by Sruthi Shankar in Bengaluru; Editing by Arun Koyyur)