In the absence of major economic news, stocks were riding a tailwind of optimism from the most recent U.S. job numbers released last week and hope for more action by European authorities to address that region's debt crisis.
The Dow Jones industrial average closed up 22 points at 13,118. The broader Standard & Poor's 500 index added three points to 1,394. Earlier, the index came within half a point of 1,400, where it hasn't traded since May 3. The Nasdaq index rose 22 points to 2,990.
About two stocks rose for every one that fell on the New York Stock Exchange. Volume was lower than average at 3 billion shares.