The Dow gained 57 points to 12,141.
The S&P 500 gained 4 points to 1,339.
And the Nasdaq composite rose 10 points to 2,404.
On the broader market, advancing issues topped decliners by a slim margin.
NYSE volume came to 4.5 billion shares, while Nasdaq volume topped 2.2 billion shares.
Light, sweet crude for July delivery rose 36 cents to settle at $136.74 a barrel on the New York Mercantile Exchange.
(Copyright 2008 by The Associated Press. All Rights Reserved.) AP-NY-06-12-08 1613EDT COPY