US STOCKS-Wall St ends higher but indexes post weekly losses
* Crude oil rally lifts energy shares
* Indexes down more than 1 percent for week
* Gap sinks after disappointing March same-store sales
* Dow up 0.2 percent, S&P up 0.3 percent, Nasdaq up 0.1 percent (Updates closing report with details on earnings)
By Caroline Valetkevitch
April 8 (Reuters) - A sharp rally in crude oil and energy shares lifted U.S. stocks on Friday, but indexes registered losses for the week.
U.S. crude oil settled more than 6 percent higher after data showed lower U.S. stockpiles, driving gains of 2 percent in the S&P energy index.
In the latest comments from Federal Reserve officials, Fed Chair Janet Yellen said late on Thursday the U.S. economy was on "a solid course," while New York Fed President William Dudley said on Friday a cautious and gradual approach to raising rates was appropriate.
Investor focus should shift next week from oil and the Fed to quarterly reports, said Peter Kenny, senior market strategist at Global Markets Advisory Group, in Berkeley Heights, New Jersey. Continuación...