Stocks pared losses by midmorning on Friday, with all three major indexes turning positive.

The Dow Jones industrial average was up 18.39 points, or 0.15 percent, at 12,226.94. The Standard & Poor's 500 Index was up 0.91 point, or 0.07 percent, at 1,285.50. The Nasdaq Composite Index was up 0.54 points, or 0.02 percent, at 2,739.17.

(Reporting by Angela Moon, Editing by Kenneth Barry)