US STOCKS-Wall St edges up after upbeat data, Greek bailout agreement
* July U.S. producer prices rise; industrial output up
* Euro zone agrees to launch bailout for Greece
* Energy stocks decline
* J.C. Penney, Nordstrom rise after results
* Indexes: Dow up 0.4 pct, S&P up 0.4 pct, Nasdaq up 0.3 pct (Updates to close)
By Caroline Valetkevitch
Aug 14 (Reuters) - U.S. stocks ended a volatile week higher on Friday after upbeat U.S. economic data and as euro zone finance ministers agreed to launch a third bailout program for Greece.
All three major indexes also ended the week with slight gains, bouncing back from losses earlier in the week set off by worries over a slowdown in China and a yuan devaluation.
Gains in shares of retailers helped buoy the market. Nordstrom and J.C. Penney both rose after the department store chains posted better-than-expected quarterly results. Continuación...