"Markets reacted positively because they saw the inflation data as a small positive," said Michael Harris, president at hedge fund Quest Partners LLC.
The rate-sensitive S&P 500 technology sector index (.SPLRCT) went up 1.22% and the communication services (.SPLRCL) rose 1.69%.
REUTERS/Brendan McDermidIndexes were choppy during the session, as investors digested the positive inflation print with concerns about the looming debt ceiling.
Advancing issues outnumbered decliners on the NYSE by a 1.32-to-1 ratio; on Nasdaq, a 1.40-to-1 ratio favored advancers.
The S&P 500 posted 18 new 52-week highs and 11 new lows; the Nasdaq Composite recorded 86 new highs and 152 new lows.