U.S. stock indexes rose Wednesday after the Labor Department said import prices rose for the first month since March.
Import prices rose 0.7 percent compared to July, while export prices rose 0.9 percent.
Stocks also found encouragement from markets in Asia and Europe.
Asian markets found support from Chinese Premier Wen Jiabao, who said that the economy would reach its 2012 goal of 7.5 percent growth.
The Wall Street Journal reported that stock in Europe got a boost from a constitutional court decision in Germany that would allow the German government to participate in the international rescue fund meant to assist eurozone countries struggling to climb out of debt.
In midmorning trading on Wall Street, the Dow Jones industrial average gained 31.52 points, or 0.24 percent, to 13,354.88. The tech-heavy Nasdaq Composite index added 8.75 points, or 0.28 percent, to 3,113.28. The Standard and Poor's 500 added 4.59 points, or 0.32 percent, to 1,438.15.
The benchmark 10-year treasury fell 12/32 to yield 1.749 percent.
The euro rose to $1.2903 from Tuesday's $1.2855. Against the yen, the dollar rose to 77.92 yen from 77.77 yen.
In Tokyo, the Nikkei 255 index added 1.73 percent, 152.58 points, to 8,959.96.