The Dow and S&P 500 closed near the flatline Tuesday as investors remained cautious ahead of the Federal Reserve's policy statement, but techs climbed to lift the Nasdaq to a fresh 12-year high.

(Read more: After-hours buzz:Amgen, Aflac, Symantec & More)