U.S. stocks notched a second day of solid gains on Thursday, led by materials and energy stocks, as investors set aside weak figures on the domestic labor market.

Based on the latest available data, the Dow Jones industrial average <.DJI> was up 180.73 points, or 1.41 percent, at 12,986.12. The Standard & Poor's 500 Index <.SPX> was up 18.83 points, or 1.38 percent, at 1,387.54. The Nasdaq Composite Index <.IXIC> was up 38.65 points, or 1.28 percent, at 3,055.11.

(Reporting by Caroline Valetkevitch; Editing by James Dalgleish)