NEW YORK — U.S. stocks are drifting near their record heights on Friday, while oil prices sink.

The S&P 500 rose 0.2%, coming off just its second loss in the prior 10 days. The Dow Jones Industrial Average was up 138 points, or 0.3%, as of 10:15 a.m., and the Nasdaq composite was 0.2% higher.

PepsiCo climbed 3.3% to extend its gain from Thursday after the snack and drinks giant reported a better profit for the latest quarter than analysts expected.

That helped to offset a sharp loss for Levi Strauss, which dropped 10.1% even though it reported a stronger profit for the latest quarter than analysts expected.

Its forecast for profit over the full year was also within range of Wall Street’s estimates, but the jeans and clothing company could be facing the challenge of high expectations. I

See Full Page