US stock indexes close slightly lower; oil rises

A mostly listless day of trading left U.S. stock indexes little changed Monday, hovering just below the record highs they set late last week.

Drug company and consumer-focused stocks weighed on the market, while energy companies surged, getting a lift from a pickup in crude oil prices.

The slight pullback came as investors took advantage of the milestones reached Friday by the Standard & Poor's 500 index and Nasdaq composite to pocket some gains. Strong U.S. jobs data left traders feeling more confident in the economy heading into this week.

The Dow Jones industrial average slipped 14.24 points, or 0.1 percent, to 18,529.29. The S&P 500 index dipped 1.98 points, or 0.1 percent, to 2,180.89. The Nasdaq shed 7.98 points, or 0.2 percent, to 5,213.14.

The stock market hit record highs on Friday after the Labor Department said U.S. employers added 255,000 jobs in July - far more than investors expected. The hiring spree, which followed an even bigger surge in June, gave investors more confidence the economy is still growing.