Stocks up as earnings, data mulled; Dow briefly tops record close