NEW YORK (Reuters) - U.S. stocks rose slightly on Friday, putting the S&P 500 at its highest closing level in more than five months, as gains in industrials and other areas offset a drop in financials after results from three of the big banks mostly disappointed.

The industrial sector gained 0.6 percent, with Boeing Co, Caterpillar Inc and 3M Co all rose in the absence of any trade rhetoric overnight.

Investors were optimistic ahead of what is expected to be a strong second-quarter U.S. earnings season, although reports on Friday from three of the biggest Wall Street banks failed to enthuse.

“In spite of the disappointment from the financials, which have been and continue to be a laggard ... there’s still relative strength,” said Michael James, managing director of equity trading at Wedbush Securities in Los Angeles.

Earnings “expectations are certainly elevated from where they were a month ago, but if companies do deliver in general, the market as a whole will continue to move higher,” he said.

Citigroup Inc slid 2.2 percent, the most among financials, after its revenue fell short of estimates due to lower debt underwriting. Wells Fargo & Co dipped 1.2 percent after its profit fell more than expected as lending slowed and costs rose.

JPMorgan Chase & Co shares were down 0.5 percent although the bank’s profit beat estimates. The financial index fell 0.5 percent.

Slideshow ( 4 images )

The CBOE Volatility Index closed at its lowest level since June 15.

The Dow Jones Industrial Average rose 94.52 points, or 0.38 percent, to 25,019.41, the S&P 500 gained 3.02 points, or 0.11 percent, to 2,801.31 and the Nasdaq Composite added 2.06 points, or 0.03 percent, to 7,825.98.

The S&P 500 posted its highest closing level since Feb. 1. The index is now just 2.5 percent from its Jan. 26 record closing high and up 4.8 percent for the year so far.

Investors are expected to keep a close eye on trade talk between the United States and China. Treasury Secretary Steven Mnuchin said Thursday the United States and China could reopen trade talks if Beijing was willing to make significant changes.

Netflix Inc sank 4.3 percent after Deutsche Bank warned the company could fall short of subscriber growth numbers when it reports results on Monday.

Johnson & Johnson dropped 1.4 percent after a jury ordered it to pay a record $4.69 billion to 22 women who alleged its talc-based products contain asbestos and caused them to develop ovarian cancer.

Slideshow ( 4 images )

AT&T Inc’s shares fell 1.7 percent on the U.S. Justice Department’s plan to appeal a federal judge’s approval of the company’s already closed $85.4 billion acquisition of Time Warner.

Advancing issues outnumbered declining ones on the NYSE by a 1.01-to-1 ratio; on Nasdaq, a 1.22-to-1 ratio favored decliners.

The S&P 500 posted 38 new 52-week highs and 2 new lows; the Nasdaq Composite recorded 93 new highs and 40 new lows.

Trading volume was among the lowest of the year, with about 5.3 billion shares changing hands on U.S. exchanges. That compares with the 6.6 billion daily average for the past 20 trading days, according to Thomson Reuters data.