U.S. Markets open in 5 hrs 57 mins

Wall Street ends mostly flat, energy names weigh

Traders work on the floor of the New York Stock Exchange shortly after the opening bell in New York November 18, 2014. REUTERS/Lucas Jackson

NEW YORK (Reuters) - U.S. stocks ended a holiday-shortened session mostly flat on Friday as a massive decline in the energy sector offset strength in consumer names.

The Dow Jones industrial average (.DJI) rose 2.28 points, or 0.01 percent, to 17,830.03, the S&P 500 (.SPX) lost 4.98 points, or 0.24 percent, to 2,067.85 and the Nasdaq Composite (.IXIC) added 4.31 points, or 0.09 percent, to 4,791.63.

For the week, the Dow rose 0.1 percent, the S&P rose 0.2 percent and the Nasdaq rose 1.7 percent.

It was the sixth straight weekly gain for all three. For the month of November, the Dow was up 2.5 percent, the S&P was up 2.5 percent and the Nasdaq up 3.5 percent.

(Reporting by Ryan Vlastelica; Editing by Nick Zieminski)